diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-10 11:06:19 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-10 11:06:19 (GMT) |
commit | f69a8efd19f322122bdd7c86ced45a8e334408e0 (patch) | |
tree | 75ae24370f3056d16427e5a17c5a9aaf6e1351e6 /generic/tkSelect.c | |
parent | 9f1f363f639f80cd9f35d9143e31c7e5766ed99e (diff) | |
download | tk-f69a8efd19f322122bdd7c86ced45a8e334408e0.zip tk-f69a8efd19f322122bdd7c86ced45a8e334408e0.tar.gz tk-f69a8efd19f322122bdd7c86ced45a8e334408e0.tar.bz2 |
Eliminate all usage of __WIN32__ macro: 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/tkSelect.c')
-rw-r--r-- | generic/tkSelect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkSelect.c b/generic/tkSelect.c index 2414b3d..ab9018a 100644 --- a/generic/tkSelect.c +++ b/generic/tkSelect.c @@ -1193,7 +1193,7 @@ TkSelInit( * http://www.cl.cam.ac.uk/~mgk25/unicode.html#x11 */ -#if !defined(__WIN32__) +#if !defined(_WIN32) dispPtr->utf8Atom = Tk_InternAtom(tkwin, "UTF8_STRING"); #else dispPtr->utf8Atom = (Atom) 0; |