Commit 296167d6 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

fix compile error on unixes

parent 0a2afb72
...@@ -29,13 +29,14 @@ ...@@ -29,13 +29,14 @@
#pragma comment(lib, "ws2_32") #pragma comment(lib, "ws2_32")
#endif #endif
my_bool have_tcpip=0; my_bool have_tcpip=0;
extern pthread_key(struct st_my_thread_var*, THR_KEY_mysys);
static void my_win_init(void); static void my_win_init(void);
static my_bool win32_init_tcp_ip(); static my_bool win32_init_tcp_ip();
#else #else
#define my_win_init() #define my_win_init()
#endif #endif
extern pthread_key(struct st_my_thread_var*, THR_KEY_mysys);
#define SCALE_SEC 100 #define SCALE_SEC 100
#define SCALE_USEC 10000 #define SCALE_USEC 10000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment