summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/peopsxgl/externals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/peopsxgl/externals.h b/plugins/peopsxgl/externals.h
index 0fa4ac9f..074442aa 100644
--- a/plugins/peopsxgl/externals.h
+++ b/plugins/peopsxgl/externals.h
@@ -89,7 +89,9 @@
#define FALSE 0
#define TRUE 1
#define BOOL unsigned short
+#ifndef bool
#define bool unsigned short
+#endif
#define LOWORD(l) ((unsigned short)(l))
#define HIWORD(l) ((unsigned short)(((uint32_t)(l) >> 16) & 0xFFFF))