]> git.saurik.com Git - wxWidgets.git/commitdiff
wait4() now extern "C" :-)
authorKarsten Ballüder <ballueder@usa.net>
Fri, 30 Oct 1998 11:24:38 +0000 (11:24 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Fri, 30 Oct 1998 11:24:38 +0000 (11:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsgtk.cpp
src/gtk1/utilsgtk.cpp

index 07ca4f5658c010913bc3d4f0fb841a24466382ac..2befc47dc371629195b12934488950d58f992bc8 100644 (file)
 
 #ifdef __SOLARIS__
 // somehow missing from sys/wait.h but in the system's docs
-pid_t wait4(pid_t pid, int *statusp, int options, struct rusage *rusage);   
+extern "C"
+{
+   pid_t wait4(pid_t pid, int *statusp, int options, struct rusage
+               *rusage);
+}
 #endif
 
 //------------------------------------------------------------------------
index 07ca4f5658c010913bc3d4f0fb841a24466382ac..2befc47dc371629195b12934488950d58f992bc8 100644 (file)
 
 #ifdef __SOLARIS__
 // somehow missing from sys/wait.h but in the system's docs
-pid_t wait4(pid_t pid, int *statusp, int options, struct rusage *rusage);   
+extern "C"
+{
+   pid_t wait4(pid_t pid, int *statusp, int options, struct rusage
+               *rusage);
+}
 #endif
 
 //------------------------------------------------------------------------