summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-28 01:04:58 +0000
committerrpj <rpj>2004-05-28 01:04:58 +0000
commitd5c1ab47d8cb1e11feae5719e44972015e284516 (patch)
treee6f7abe562926bfe59600e57d54b3571285f9a76
parent92b9fcb1c47df7bca904d1ccf2d0b91b963135f9 (diff)
''
-rw-r--r--implement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/implement.h b/implement.h
index d902fa4..ac5bed4 100644
--- a/implement.h
+++ b/implement.h
@@ -41,6 +41,14 @@
#define _WIN32_WINNT 0x400
#include <windows.h>
+
+/*
+ * In case windows.h doesn't define it (e.g. WinCE perhaps)
+ */
+#ifndef PAPCFUNC
+# define PAPCFUNC (void CALLBACK (*)(DWORD))
+#endif
+
/*
* note: ETIMEDOUT is correctly defined in winsock.h
*/