aboutsummaryrefslogtreecommitdiff
path: root/subhook_private.h
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2017-10-31 06:03:26 +0600
committerZeex <zeex@rocketmail.com>2017-10-31 06:03:26 +0600
commitd2ac83c4e520e7cc9563656b87fa34c9b849a23d (patch)
tree3a7a1dd1b5771b41023ce8feb658f17000983508 /subhook_private.h
parent062797527ddc6fc60db578cab30ee2daeb199d1b (diff)
downloadsubhook-d2ac83c4e520e7cc9563656b87fa34c9b849a23d.zip
subhook-d2ac83c4e520e7cc9563656b87fa34c9b849a23d.tar.gz
subhook-d2ac83c4e520e7cc9563656b87fa34c9b849a23d.tar.bz2
Replace 0 with NULL
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;