Skip to content

Commit

Permalink
GH-36 Add MacOS feature test macro to enable SIGWINCH.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Sep 10, 2024
1 parent 4440a3f commit f0d43b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/post4.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ extern "C" {
# define ECHOCTL 0
#endif

#ifdef __APPLE__
# define _DARWIN_C_SOURCE 1
#endif

#include "config.h"

#ifndef P4_MEM_SIZE
Expand Down

0 comments on commit f0d43b4

Please sign in to comment.