summaryrefslogtreecommitdiff
path: root/semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'semaphore.c')
-rw-r--r--semaphore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/semaphore.c b/semaphore.c
index b388887..15441e8 100644
--- a/semaphore.c
+++ b/semaphore.c
@@ -42,10 +42,10 @@
* MA 02111-1307, USA
*/
-#include <windows.h>
-//#include <process.h>
-//#include <sys/timeb.h>
-#include <string.h>
+/* ignore warning "unreferenced formal parameter" */
+#ifdef _MSC_VER
+#pragma warning( disable : 4100 )
+#endif
#include "pthread.h"
#include "semaphore.h"