Ticket #61115: use-darwin-compat.diff
File use-darwin-compat.diff, 528 bytes (added by ballapete (Peter "Pete" Dyballa), 4 years ago) |
---|
-
src/Makefile.am
old new 31 31 endif 32 32 33 33 libnpth_la_SOURCES = npth.h npth.c npth-sigev.c 34 libnpth_la_SOURCES += darwin_compat.h darwin_compat.c 34 35 35 36 # AM_CPPFLAGS = 36 37 # AM_CFLAGS = -
src/npth.c
old new 63 63 return 0; 64 64 } 65 65 #else 66 # include <semaphore.h>66 # include "darwin_compat.h" 67 67 #endif 68 68 #ifdef HAVE_UNISTD_H 69 69 # include <unistd.h>