aboutsummaryrefslogtreecommitdiff
path: root/subhook_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'subhook_private.h')
-rw-r--r--subhook_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/subhook_private.h b/subhook_private.h
index 3f80b73..0458969 100644
--- a/subhook_private.h
+++ b/subhook_private.h
@@ -28,6 +28,13 @@
#include <stddef.h>
+#ifndef true
+ #define true 1
+#endif
+#ifndef false
+ #define false 0
+#endif
+
struct subhook_struct {
int installed;
void *src;