Permalink
Browse files

hook.def: make sure NULL is available.

  • Loading branch information...
stesie committed Apr 11, 2009
1 parent 8f8f0ac commit b1c4a668a0da8e36df87b2862f4de62e9e4e2c9f
Showing with 3 additions and 0 deletions.
  1. +3 −0 hook.def
View
@@ -76,6 +76,9 @@ after the previous include of hook.def:
#error Please define HOOK_NAME and HOOK_ARGS
#endif
+#ifndef NULL
+#define NULL ((void *) 0L)
+#endif
#define __hook_cat(a,b) a ## b
#define _hook_cat(a,b) __hook_cat(a,b)

0 comments on commit b1c4a66

Please sign in to comment.