2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* include/bsp.h: Replace stringification madness to pick up bare.h
	(Doesn't work with gcc >= 3.3) with a somewhat cleaner madness.
This commit is contained in:
Ralf Corsepius
2003-10-01 12:41:46 +00:00
parent 796c4e3264
commit dcf4269913
2 changed files with 9 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/bsp.h: Replace stringification madness to pick up bare.h
(Doesn't work with gcc >= 3.3) with a somewhat cleaner madness.
2003-09-04 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c, include/bsp.h, include/coverhd.h,

View File

@@ -42,18 +42,11 @@ extern "C" {
#define VARIANT bare
#endif
#if defined(VARIANT)
#define __bsp_cat(x, y) x ## y
#define __bsp_xcat(x, y) __bsp_cat(x,y)
#define __bsp_str(s) #s
#define __bsp_xstr(s) __bsp_str(s)
#define __BSP_HEADER_FILE__ __bsp_xcat(VARIANT,.h)
#define __BSP_HEADER_FILE_STR__ __bsp_xstr(__BSP_HEADER_FILE__)
#include __BSP_HEADER_FILE_STR__
#define HQUOTE(a) <a.h>
#include HQUOTE(VARIANT)
#undef HQUOTE
#endif
/*
* Define the time limits for RTEMS Test Suite test durations.
* Long test and short test duration limits are provided. These