]> git.saurik.com Git - wxWidgets.git/commitdiff
Another solaris fix. :-<
authorKarsten Ballüder <ballueder@usa.net>
Wed, 27 Jan 1999 09:48:39 +0000 (09:48 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Wed, 27 Jan 1999 09:48:39 +0000 (09:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp
src/gtk1/app.cpp

index 2c0b307922ee67fb225c0b1084d572ca8d401d73..418183b6e412ba26f5978c45e048c6add2104863 100644 (file)
 #include "unistd.h"
 
 #ifdef __SUN__
-int usleep(unsigned int useconds); 
+extern "C" 
+{
+void usleep(unsigned long usec); 
+};
 #endif
 
 #include "glib.h"
index 2c0b307922ee67fb225c0b1084d572ca8d401d73..418183b6e412ba26f5978c45e048c6add2104863 100644 (file)
 #include "unistd.h"
 
 #ifdef __SUN__
-int usleep(unsigned int useconds); 
+extern "C" 
+{
+void usleep(unsigned long usec); 
+};
 #endif
 
 #include "glib.h"