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
//
#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) {