aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/libmaple_types.h')
-rw-r--r--libmaple/libmaple_types.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libmaple/libmaple_types.h b/libmaple/libmaple_types.h
index d49f95a..a976a9e 100644
--- a/libmaple/libmaple_types.h
+++ b/libmaple/libmaple_types.h
@@ -1,4 +1,4 @@
-/* *****************************************************************************
+/******************************************************************************
* The MIT License
*
* Copyright (c) 2010 Perry Hung.
@@ -20,7 +20,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
- * ****************************************************************************/
+ *****************************************************************************/
/**
* @file libmaple_types.h
@@ -45,5 +45,9 @@ typedef void (*voidFuncPtr)(void);
#define __io volatile
+#ifndef NULL
+#define NULL 0
+#endif
+
#endif