diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-10 11:59:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-10 11:59:22 (GMT) |
commit | 0258413bde6ef149dba024baac68f1fc66170293 (patch) | |
tree | b43d62bfa44e3f58c1b9a9ad754ce530100ddb13 /generic/tclClock.c | |
parent | b6ae0212a194c6c55a0c05a0f2194213da433583 (diff) | |
download | tcl-0258413bde6ef149dba024baac68f1fc66170293.zip tcl-0258413bde6ef149dba024baac68f1fc66170293.tar.gz tcl-0258413bde6ef149dba024baac68f1fc66170293.tar.bz2 |
Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. Clang/LLVM) don't define it, and _WIN32 is much more portable anyway.
See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r-- | generic/tclClock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c index 6d2976d..50d480c 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -19,7 +19,7 @@ * Windows has mktime. The configurators do not check. */ -#ifdef __WIN32__ +#ifdef _WIN32 #define HAVE_MKTIME 1 #endif |