define feature test macro

This commit is contained in:
Joey Hess 2011-03-16 12:06:32 -04:00
parent 2e26caa856
commit c93cd81a33

View file

@ -22,6 +22,10 @@ import Foreign.C
#include <sys/stat.h>
#include <fcntl.h>
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE >= 200809L
#endif
data TimeSpec = TimeSpec CTime CLong
instance Storable TimeSpec where