[rtems commit] bsps/sparc64: Fix redefinitions
Sebastian Huber
sebh at rtems.org
Thu Feb 8 08:19:10 UTC 2018
Module: rtems
Branch: master
Commit: 18f285c2968d72a142dc638aa639fdf8e9a59275
Changeset: http://git.rtems.org/rtems/commit/?id=18f285c2968d72a142dc638aa639fdf8e9a59275
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Feb 7 09:23:26 2018 +0100
bsps/sparc64: Fix redefinitions
---
bsps/sparc64/include/boot/gentypes.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/bsps/sparc64/include/boot/gentypes.h b/bsps/sparc64/include/boot/gentypes.h
index a3e82d6..57f3725 100644
--- a/bsps/sparc64/include/boot/gentypes.h
+++ b/bsps/sparc64/include/boot/gentypes.h
@@ -35,11 +35,8 @@
#ifndef BOOT_GENTYPES_H_
#define BOOT_GENTYPES_H_
-#define NULL 0
-#define false 0
-#define true 1
-
-typedef unsigned long size_t;
+#include <stddef.h>
+#include <stdbool.h>
#endif
More information about the vc
mailing list