Commit 1eb850d5 authored by Simon Marlow's avatar Simon Marlow

fix ctime_r problem on Solaris (I hope)

parent 1994438b
......@@ -16,7 +16,14 @@
#include "Ticky.h"
#ifdef HAVE_TIME_H
#ifdef solaris2_HOST_OS
// Solaris requires this to get access to the POSIX ctime_r()
#define _POSIX_PTHREAD_SEMANTICS
#endif
#include <time.h>
#ifdef solaris2_HOST_OS
#undef _POSIX_PTHREAD_SEMANTICS
#endif
#endif
#ifdef HAVE_FCNTL_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment