aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-06-20 21:22:58 +0000
committerMike Buland <eichlan@xagasoft.com>2011-06-20 21:22:58 +0000
commitec57e315a3d370910925c67e21482c1cf46ecfbd (patch)
tree22bd481acb443de7f7665a0696ec037b200e6553 /src
parent2a8a2d2aed7faaa88e91f54871120f114645382d (diff)
downloadlibbu++-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 'src')
-rw-r--r--src/atom.h1
-rw-r--r--src/extratypes.h4
-rw-r--r--src/stack.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/atom.h b/src/atom.h
index 7c8a166..fd88f2d 100644
--- a/src/atom.h
+++ b/src/atom.h
@@ -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
15namespace Bu 16namespace 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
15namespace Bu 19namespace 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
13namespace Bu 14namespace Bu
14{ 15{