summaryrefslogtreecommitdiff
path: root/src/forms_timer.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 /src/forms_timer.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 'src/forms_timer.cxx')
-rw-r--r--src/forms_timer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/forms_timer.cxx b/src/forms_timer.cxx
index dbaacce5d..c8782c7c3 100644
--- a/src/forms_timer.cxx
+++ b/src/forms_timer.cxx
@@ -24,7 +24,7 @@
#include <FL/Fl_Timer.H>
#include <FL/fl_draw.H>
#include <FL/forms.H>
-#ifdef WIN32
+#ifdef _WIN32
# ifdef __MWERKS__
# include <time.h>
# else
@@ -40,7 +40,7 @@
#define FL_TIMER_BLINKRATE 0.2
void fl_gettime(long* sec, long* usec) {
-#ifdef WIN32
+#ifdef _WIN32
# ifdef __MWERKS__
time_t localTime = time(NULL);
struct tm *now = localtime(&localTime);