mirror of https://github.com/fltk/fltk
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:
parent
a9397d9ca8
commit
0197e5b31c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue