(blind) fix for Tru64 compilation (bug 769360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8acd14d177
commit
1a5e269be8
@ -151,21 +151,17 @@
|
||||
defined(__osf__) || defined(__EMX__))
|
||||
extern "C"
|
||||
{
|
||||
#ifdef __SUN__
|
||||
#ifdef __EMX__
|
||||
/* I copied this from the XFree86 diffs. AV. */
|
||||
#define INCL_DOSPROCESS
|
||||
#include <os2.h>
|
||||
inline void usleep(unsigned long delay)
|
||||
{
|
||||
DosSleep(delay ? (delay/1000l) : 1l);
|
||||
}
|
||||
#else // Unix
|
||||
int usleep(unsigned int usec);
|
||||
#else // !Sun
|
||||
#ifdef __EMX__
|
||||
/* I copied this from the XFree86 diffs. AV. */
|
||||
#define INCL_DOSPROCESS
|
||||
#include <os2.h>
|
||||
inline void usleep(unsigned long delay)
|
||||
{
|
||||
DosSleep(delay ? (delay/1000l) : 1l);
|
||||
}
|
||||
#else // !Sun && !EMX
|
||||
void usleep(unsigned long usec);
|
||||
#endif
|
||||
#endif // Sun/EMX/Something else
|
||||
#endif // __EMX__/Unix
|
||||
};
|
||||
|
||||
#define HAVE_USLEEP 1
|
||||
|
Loading…
Reference in New Issue
Block a user