more DG-UX compilation fixes (thanks to Benjamin Beckwith)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-02-25 09:36:35 +00:00
parent c3c1cebed3
commit 539dae5200
5 changed files with 75 additions and 57 deletions

View File

@@ -30,13 +30,17 @@
#endif
#include "unistd.h"
// add more here if you run into problems
#if defined(__SUN__) && !defined(__SunOs_5_6) && !defined(__SunOs_5_7) && !defined(__SUNPRO_CC)
extern "C"
{
void usleep(unsigned long usec);
};
#endif
// many versions of Unices have this function, but it is not defined in system
// 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(__SUN__) && !defined(__SunOs_5_6) && \
!defined(__SunOs_5_7) && !defined(__SUNPRO_CC)) || \
defined(__osf__)
extern "C"
{
void usleep(unsigned long usec);
};
#endif // Unices without usleep()
#include "glib.h"
#include "gdk/gdk.h"