mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
include win32 build too
svn-id: r38210
This commit is contained in:
parent
311344b445
commit
25aaf97300
@ -36,17 +36,17 @@
|
||||
#include "sci/include/sci_widgets.h"
|
||||
#include "sci/include/reg_t_hashmap.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <mmsystem.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
# ifdef sleep
|
||||
# undef sleep
|
||||
# endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <mmsystem.h>
|
||||
# define sleep(x) \
|
||||
do { \
|
||||
if (x == 0) { \
|
||||
|
@ -38,6 +38,13 @@
|
||||
# include <mmsystem.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
|
||||
void usleep (long usec);
|
||||
|
||||
# ifdef sleep
|
||||
# undef sleep
|
||||
# endif
|
||||
@ -54,13 +61,8 @@
|
||||
fprintf(stderr, "timeEndPeriod(1) failed\n"); \
|
||||
} \
|
||||
} while (0);
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# include <win32/usleep.h>
|
||||
# include <win32/sci_win32.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_FNMATCH) && !defined(_MSC_VER)
|
||||
# include <beos/fnmatch.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user