diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-09 14:39:42 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-09 14:39:42 +0000 |
| commit | 52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 (patch) | |
| tree | 4f532a97ab0a6a1c2f96454290bc8803ee022f1f /examples/progress-simple.cxx | |
| parent | 30dad6a4aa2b94fe91783160c86abc75f9dc9e23 (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 'examples/progress-simple.cxx')
| -rw-r--r-- | examples/progress-simple.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/progress-simple.cxx b/examples/progress-simple.cxx index 9f72c4ca6..5221ddcb8 100644 --- a/examples/progress-simple.cxx +++ b/examples/progress-simple.cxx @@ -23,14 +23,14 @@ #include <FL/Fl_Button.H> #include <FL/Fl_Progress.H> -#ifdef WIN32 +#ifdef _WIN32 // WINDOWS #include <windows.h> #define usleep(v) Sleep(v/1000) -#else /*WIN32*/ +#else /* _WIN32 */ // UNIX #include <unistd.h> // usleep -#endif /*WIN32*/ +#endif /* _WIN32 */ // Button callback void butt_cb(Fl_Widget *butt, void *data) { |
