diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-02-29 05:42:12 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-02-29 05:42:12 +0000 |
| commit | 0197e5b31c539458a2d8d6a91b7bf4e8e5bfc83a (patch) | |
| tree | 0cc3adb349ca70e74c16d764bd7278337761c43a /examples/progress-simple.cxx | |
| parent | a9397d9ca82cf6b6339771f489ee566ea77fe64c (diff) | |
Small #ifdef mod for windows builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9256 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 9b831957f..e2a02fd7e 100644 --- a/examples/progress-simple.cxx +++ b/examples/progress-simple.cxx @@ -23,14 +23,14 @@ // http://www.fltk.org/str.php // -#ifdef _WIN32 +#ifdef WIN32 // WINDOWS #include <windows.h> #define usleep(v) Sleep(v/1000) -#else +#else /*WIN32*/ // UNIX #include <unistd.h> // usleep -#endif +#endif /*WIN32*/ // Button callback void butt_cb(Fl_Widget *butt, void *data) { |
