X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=compat%2Fcompat.h;fp=compat%2Fcompat.h;h=0c4ac66ff5912bee6d38621218ef912b16f88c2e;hp=c1ee0f93e9a907463a49dd2d5aee5ea6d96cc493;hb=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f;hpb=31c7001c99e042c2722217410d8a913875d44149 diff --git a/compat/compat.h b/compat/compat.h index c1ee0f93..0c4ac66f 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -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