diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-06-20 21:22:58 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-06-20 21:22:58 +0000 |
commit | ec57e315a3d370910925c67e21482c1cf46ecfbd (patch) | |
tree | 22bd481acb443de7f7665a0696ec037b200e6553 | |
parent | 2a8a2d2aed7faaa88e91f54871120f114645382d (diff) | |
download | libbu++-ec57e315a3d370910925c67e21482c1cf46ecfbd.tar.gz libbu++-ec57e315a3d370910925c67e21482c1cf46ecfbd.tar.bz2 libbu++-ec57e315a3d370910925c67e21482c1cf46ecfbd.tar.xz libbu++-ec57e315a3d370910925c67e21482c1cf46ecfbd.zip |
Minor tweak, NULL is defined in extratypes.h as per C++ regs if it's not
already defined.
Diffstat (limited to '')
-rw-r--r-- | src/atom.h | 1 | ||||
-rw-r--r-- | src/extratypes.h | 4 | ||||
-rw-r--r-- | src/stack.h | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | #include <memory> | 12 | #include <memory> |
13 | #include "bu/config.h" | ||
13 | #include "bu/exceptionbase.h" | 14 | #include "bu/exceptionbase.h" |
14 | 15 | ||
15 | namespace Bu | 16 | namespace Bu |
diff --git a/src/extratypes.h b/src/extratypes.h index 0dd92db..656cd6d 100644 --- a/src/extratypes.h +++ b/src/extratypes.h | |||
@@ -12,6 +12,10 @@ | |||
12 | 12 | ||
13 | #include <stdint.h> | 13 | #include <stdint.h> |
14 | 14 | ||
15 | #ifndef NULL | ||
16 | #define NULL 0 | ||
17 | #endif | ||
18 | |||
15 | namespace Bu | 19 | namespace Bu |
16 | { | 20 | { |
17 | #ifdef USE_64BIT_IO | 21 | #ifdef USE_64BIT_IO |
diff --git a/src/stack.h b/src/stack.h index a6ea1b9..0d1ed3c 100644 --- a/src/stack.h +++ b/src/stack.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #define BU_STACK_H | 9 | #define BU_STACK_H |
10 | 10 | ||
11 | #include <memory> | 11 | #include <memory> |
12 | #include "bu/config.h" | ||
12 | 13 | ||
13 | namespace Bu | 14 | namespace Bu |
14 | { | 15 | { |