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