diff options
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h index 4adc562..e541f27 100644 --- a/src/socket.h +++ b/src/socket.h | |||
@@ -36,7 +36,9 @@ typedef struct sockaddr SA; | |||
36 | * interface to sockets | 36 | * interface to sockets |
37 | \*=========================================================================*/ | 37 | \*=========================================================================*/ |
38 | 38 | ||
39 | #ifndef _WIN32 | ||
39 | #pragma GCC visibility push(hidden) | 40 | #pragma GCC visibility push(hidden) |
41 | #endif | ||
40 | 42 | ||
41 | int socket_waitfd(p_socket ps, int sw, p_timeout tm); | 43 | int socket_waitfd(p_socket ps, int sw, p_timeout tm); |
42 | int socket_open(void); | 44 | int socket_open(void); |
@@ -64,6 +66,8 @@ const char *socket_strerror(int err); | |||
64 | const char *socket_ioerror(p_socket ps, int err); | 66 | const char *socket_ioerror(p_socket ps, int err); |
65 | const char *socket_gaistrerror(int err); | 67 | const char *socket_gaistrerror(int err); |
66 | 68 | ||
69 | #ifndef _WIN32 | ||
67 | #pragma GCC visibility pop | 70 | #pragma GCC visibility pop |
71 | #endif | ||
68 | 72 | ||
69 | #endif /* SOCKET_H */ | 73 | #endif /* SOCKET_H */ |