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 /src/extra | |
| 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/extratypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
