summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/implement.h b/implement.h
index 0e80a6e..3fc81b1 100644
--- a/implement.h
+++ b/implement.h
@@ -27,6 +27,16 @@
#ifndef _IMPLEMENT_H
#define _IMPLEMENT_H
+#ifdef __MINGW32__
+#define PT_STDCALL
+#else
+#ifdef __cplusplus
+#define PT_STDCALL __stdcall
+#else
+#define PT_STDCALL __stdcall
+#endif
+#endif
+
/* changed include from <semaphore.h> to use local file during development */
#include "semaphore.h"