IRIX compilation fix: don't redeclare usleep() if HAVE_USLEEP is defined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-12-19 22:45:08 +00:00
parent 9b6ae4506e
commit d67fee71b8

View File

@@ -126,9 +126,9 @@
// headers - please add your system here if it is the case for your OS.
// SunOS < 5.6 (i.e. Solaris < 2.6) and DG-UX are like this.
#if !defined(HAVE_USLEEP) && \
(defined(__SUN__) && !defined(__SunOs_5_6) && \
((defined(__SUN__) && !defined(__SunOs_5_6) && \
!defined(__SunOs_5_7) && !defined(__SUNPRO_CC)) || \
defined(__osf__) || defined(__EMX__)
defined(__osf__) || defined(__EMX__))
extern "C"
{
#ifdef __SUN__