From d4adbb461f34d9864eb448ee0c821987a2485716 Mon Sep 17 00:00:00 2001 From: Christian Thalinger Date: Fri, 8 Aug 2008 14:53:18 +0200 Subject: [PATCH] * src/vm/os.hpp [__SOLARIS__] (os::str2sig): Added #ifdef for now. Maybe we should implement it for all OSes. --- src/vm/os.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vm/os.hpp b/src/vm/os.hpp index fc1849ea3..7ee25a8f1 100644 --- a/src/vm/os.hpp +++ b/src/vm/os.hpp @@ -132,7 +132,9 @@ public: static inline int shutdown(int s, int how); static inline int socket(int domain, int type, int protocol); static inline int stat(const char* path, struct stat* buf); +#if defined(__SOLARIS__) static inline int str2sig(const char* str, int* signum); +#endif static inline char* strcat(char* dest, const char* src); static inline char* strcpy(char* dest, const char* src); static inline char* strdup(const char* s); @@ -485,6 +487,7 @@ inline int os::stat(const char* path, struct stat* buf) #endif } +#if defined(__SOLARIS__) inline int os::str2sig(const char* str, int* signum) { #if defined(HAVE_STR2SIG) @@ -493,6 +496,7 @@ inline int os::str2sig(const char* str, int* signum) # error str2sig not available #endif } +#endif inline char* os::strcat(char* dest, const char* src) { -- 2.25.1