]> arthur.barton.de Git - netatalk.git/blobdiff - libevent/evthread_win32.c
Fix distcheck error caused by pkgconfig stuff
[netatalk.git] / libevent / evthread_win32.c
index bd72be15e5ac9877988a16bbbf3c744b935d38b9..2389d72196dba229e9058fbc9ae70ada10e84da4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2009-2010 Niels Provos and Nick Mathewson
+ * Copyright 2009-2012 Niels Provos and Nick Mathewson
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 #include "event2/event-config.h"
 
 #ifdef WIN32
+#ifndef _WIN32_WINNT
+/* Minimum required for InitializeCriticalSectionAndSpinCount */
+#define _WIN32_WINNT 0x0403
+#endif
 #include <winsock2.h>
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>