(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:
@@ -151,9 +151,6 @@
|
|||||||
defined(__osf__) || defined(__EMX__))
|
defined(__osf__) || defined(__EMX__))
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#ifdef __SUN__
|
|
||||||
int usleep(unsigned int usec);
|
|
||||||
#else // !Sun
|
|
||||||
#ifdef __EMX__
|
#ifdef __EMX__
|
||||||
/* I copied this from the XFree86 diffs. AV. */
|
/* I copied this from the XFree86 diffs. AV. */
|
||||||
#define INCL_DOSPROCESS
|
#define INCL_DOSPROCESS
|
||||||
@@ -162,10 +159,9 @@
|
|||||||
{
|
{
|
||||||
DosSleep(delay ? (delay/1000l) : 1l);
|
DosSleep(delay ? (delay/1000l) : 1l);
|
||||||
}
|
}
|
||||||
#else // !Sun && !EMX
|
#else // Unix
|
||||||
void usleep(unsigned long usec);
|
int usleep(unsigned int usec);
|
||||||
#endif
|
#endif // __EMX__/Unix
|
||||||
#endif // Sun/EMX/Something else
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define HAVE_USLEEP 1
|
#define HAVE_USLEEP 1
|
||||||
|
Reference in New Issue
Block a user