diff options
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h index 93b74efd3f..db87a6dca8 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -16,7 +16,6 @@ typedef long long __int64; #endif - #define WIN32_LEAN_AND_MEAN #include <windows.h> @@ -178,4 +177,20 @@ EXT void win32_strip_return(struct sv *sv); #define win32_strip_return(sv) NOOP #endif +/* + * Now Win32 specific per-thread data stuff + */ + +#ifdef USE_THREADS +#ifndef USE_DECLSPEC_THREAD +#define HAVE_THREAD_INTERN + +struct thread_intern +{ + char Wstrerror_buffer[512]; + struct servent Wservent; +}; +#endif +#endif + #endif /* _INC_WIN32_PERL5 */ |