First take on changes to allow building with MSC for W32CE.
[gpgme.git] / src / w32-ce.h
index 2b761d6..bcd5344 100644 (file)
 #include <time.h>
 #include <stdarg.h>
 
-/* For getaddrinfo.  */
-#define _MSV_VER 0x401
+#ifdef _MSC_VER
+typedef int pid_t;
+#endif
+
+#include <winsock2.h>
+#include <ws2tcpip.h> /* For getaddrinfo.  */
 #include <windows.h>