Small #ifdef mod for windows builds.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2012-02-29 05:42:12 +00:00
parent a9397d9ca8
commit 0197e5b31c
1 changed files with 3 additions and 3 deletions

View File

@ -23,14 +23,14 @@
// http://www.fltk.org/str.php // http://www.fltk.org/str.php
// //
#ifdef _WIN32 #ifdef WIN32
// WINDOWS // WINDOWS
#include <windows.h> #include <windows.h>
#define usleep(v) Sleep(v/1000) #define usleep(v) Sleep(v/1000)
#else #else /*WIN32*/
// UNIX // UNIX
#include <unistd.h> // usleep #include <unistd.h> // usleep
#endif #endif /*WIN32*/
// Button callback // Button callback
void butt_cb(Fl_Widget *butt, void *data) { void butt_cb(Fl_Widget *butt, void *data) {