Skip to content
Snippets Groups Projects
Commit 11efa237 authored by rswindell's avatar rswindell
Browse files

Use timezone & daylight instead of _timezone and _daylight on *nix.

parent 7e628349
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,13 @@
#define USE_SNPRINTF /* we don't need safe_snprintf for this project */
#include "genwrap.h"
#define TIMEZONE _timezone
#define DAYLIGHT _daylight
#if !defined(__unix__)
#define TIMEZONE _timezone
#define DAYLIGHT _daylight
#else
#define TIMEZONE timezone
#define DAYLIGHT daylight
#endif
/****************************************************************************/
/* Converts a date string in format MM/DD/YY into unix time format */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment