summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-10 11:59:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-10 11:59:22 (GMT)
commitd8e6ba4a3b30e39fc7cde4cb5550d2157c95e194 (patch)
treeb43d62bfa44e3f58c1b9a9ad754ce530100ddb13 /generic/tclMain.c
parent5c88f32139644538542058b07833e3731af7be18 (diff)
downloadtcl-d8e6ba4a3b30e39fc7cde4cb5550d2157c95e194.zip
tcl-d8e6ba4a3b30e39fc7cde4cb5550d2157c95e194.tar.gz
tcl-d8e6ba4a3b30e39fc7cde4cb5550d2157c95e194.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/tclMain.c')
-rw-r--r--generic/tclMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index faea75a..360f5e9 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -47,7 +47,7 @@
* we have to translate that to strcmp here.
*/
-#ifndef __WIN32__
+#ifndef _WIN32
# define TCHAR char
# define TEXT(arg) arg
# define _tcscmp strcmp