This provides access to strptime(3) from <time.h>, which is otherwise undefined on at least Cygwin and possibly other platforms. --- chicken.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/chicken.h b/chicken.h index 4ae93e09..dec79aa3 100644 --- a/chicken.h +++ b/chicken.h @@ -47,6 +47,10 @@ # define __C99FEATURES__ #endif +#ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE +#endif + #ifndef _BSD_SOURCE # define _BSD_SOURCE #endif -- 2.11.0 _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers