]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - compat/compat.h
asctime: check for standards compliance (Solaris support)
[obsolete/notmuch-old] / compat / compat.h
index b2e27368cf0690701c81b692fc0f9dce4c7216f4..0c4ac66ff5912bee6d38621218ef912b16f88c2e 100644 (file)
 extern "C" {
 #endif
 
+#if !STD_GETPWUID
+#define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+#if !STD_ASCTIME
+#define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+
 #if !HAVE_GETLINE
 #include <stdio.h>
 #include <unistd.h>