]> git.saurik.com Git - wxWidgets.git/commitdiff
IRIX compilation fix: don't redeclare usleep() if HAVE_USLEEP is defined
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2004 22:45:08 +0000 (22:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2004 22:45:08 +0000 (22:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 6115ef333051e083d796849646d821714f27d87b..35a752946104f64a850b2823b159cd0d6b16abd4 100644 (file)
 // 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__