From 380440110ca482dce658d4f26f6f661a53d322aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Wed, 27 Jan 1999 09:48:39 +0000 Subject: [PATCH] Another solaris fix. :-< git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/app.cpp | 5 ++++- src/gtk1/app.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 2c0b307922..418183b6e4 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -31,7 +31,10 @@ #include "unistd.h" #ifdef __SUN__ -int usleep(unsigned int useconds); +extern "C" +{ +void usleep(unsigned long usec); +}; #endif #include "glib.h" diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index 2c0b307922..418183b6e4 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -31,7 +31,10 @@ #include "unistd.h" #ifdef __SUN__ -int usleep(unsigned int useconds); +extern "C" +{ +void usleep(unsigned long usec); +}; #endif #include "glib.h" -- 2.47.2