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