aboutsummaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/date.c b/src/date.c
index 1961256..54ecf52 100644
--- a/src/date.c
+++ b/src/date.c
@@ -23,17 +23,18 @@
*/
-#ifdef NT
+#include "zexy.h"
+
+#ifdef __WIN32__
# define USE_TIMEB
#endif
-#ifdef MACOSX
+#ifdef __APPLE__
# include <sys/types.h>
/* typedef _BSD_TIME_T_ time_t; */
#endif
-#include "zexy.h"
#include <time.h>
#ifdef USE_TIMEB