summaryrefslogtreecommitdiff
path: root/test/threads.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-09 14:39:42 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-09 14:39:42 +0000
commit52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 (patch)
tree4f532a97ab0a6a1c2f96454290bc8803ee022f1f /test/threads.cxx
parent30dad6a4aa2b94fe91783160c86abc75f9dc9e23 (diff)
Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/threads.cxx')
-rw-r--r--test/threads.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/threads.cxx b/test/threads.cxx
index 522aa0a9f..2fe40eb54 100644
--- a/test/threads.cxx
+++ b/test/threads.cxx
@@ -3,7 +3,7 @@
//
// Threading example program for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2018 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -18,7 +18,7 @@
#include <config.h>
-#if defined(HAVE_PTHREAD) || defined(WIN32)
+#if defined(HAVE_PTHREAD) || defined(_WIN32)
# include <FL/Fl.H>
# include <FL/Fl_Double_Window.H>
# include <FL/Fl_Browser.H>
@@ -156,7 +156,7 @@ int main(int argc, char **argv)
int main() {
fl_alert("Sorry, threading not supported on this platform!");
}
-#endif // HAVE_PTHREAD || WIN32
+#endif // HAVE_PTHREAD || _WIN32
//