URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 17 |
Rev 163 |
Line 414... |
Line 414... |
#define EXPORTED_CONST extern const
|
#define EXPORTED_CONST extern const
|
#else
|
#else
|
#define EXPORTED_CONST const
|
#define EXPORTED_CONST const
|
#endif
|
#endif
|
|
|
/* Be conservative and only use enum bitfields with GCC.
|
/* Be conservative and only use enum bitfields with C++ or GCC.
|
FIXME: provide a complete autoconf test for buggy enum bitfields. */
|
FIXME: provide a complete autoconf test for buggy enum bitfields. */
|
|
|
#if (GCC_VERSION > 2000)
|
#ifdef __cplusplus
|
|
#define ENUM_BITFIELD(TYPE) enum TYPE
|
|
#elif (GCC_VERSION > 2000)
|
#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
|
#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
|
#else
|
#else
|
#define ENUM_BITFIELD(TYPE) unsigned int
|
#define ENUM_BITFIELD(TYPE) unsigned int
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.