Abstracted the threading code so that it works with Winthreads and pthreads.

This commit is contained in:
Jan Vidar Krey
2012-10-25 00:39:44 +02:00
parent b34b90f95a
commit 168fc5bfcc
4 changed files with 192 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
#ifndef WINSOCK
#define WINSOCK
#endif
#define WINTHREAD_SUPPORT 1
#endif
#if defined(__CYGWIN__) || defined(__MINGW32__)