diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-26 17:37:04 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-26 17:37:04 +0000 |
commit | 36dcfade7b4296480ab91fc098ab8ce59948d04f (patch) | |
tree | 8d893477f72c475af6298b8b87dfba3e6d77cf4c /lib/make/cctk_Config.h.in | |
parent | ddec379ad2893aa41e26bb47e5ef8444cc64f65b (diff) |
Rename datatype availability macros from CCTK_HAVE_<datatype> into
HAVE_CCTK_<datatype> to be consistent with other configure macros.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3794 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/cctk_Config.h.in')
-rw-r--r-- | lib/make/cctk_Config.h.in | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in index 723bf694..f5998ce6 100644 --- a/lib/make/cctk_Config.h.in +++ b/lib/make/cctk_Config.h.in @@ -108,15 +108,15 @@ #undef CCTK_INTEGER_PRECISION_1 /* Integer sizes */ -#undef CCTK_HAVE_INT8 -#undef CCTK_HAVE_INT4 -#undef CCTK_HAVE_INT2 -#undef CCTK_HAVE_INT1 +#undef HAVE_CCTK_INT8 +#undef HAVE_CCTK_INT4 +#undef HAVE_CCTK_INT2 +#undef HAVE_CCTK_INT1 /* Float sizes */ -#undef CCTK_HAVE_REAL16 -#undef CCTK_HAVE_REAL8 -#undef CCTK_HAVE_REAL4 +#undef HAVE_CCTK_REAL16 +#undef HAVE_CCTK_REAL8 +#undef HAVE_CCTK_REAL4 /******************************************************************************/ @@ -151,13 +151,18 @@ #endif /* Some C compilers (e.g. c99 ones) define bool */ -#undef CCTK_HAVE_C_BOOL +#undef HAVE_CCTK_C_BOOL + +/* deprecated in beta15 */ +#ifdef HAVE_CCTK_C_BOOL +#define CCTK_HAVE_C_BOOL +#endif /* Since this is non-standard leave commented out for the moment */ #if 0 -#ifndef CCTK_HAVE_C_BOOL +#ifndef HAVE_CCTK_C_BOOL typedef enum {false, true} bool; -#endif /* CCTK_HAVE_CXX_BOOL */ +#endif /* HAVE_CCTK_CXX_BOOL */ #endif #endif /* ! defined __cplusplus */ @@ -169,10 +174,13 @@ typedef enum {false, true} bool; #ifdef __cplusplus /* Some C++ compilers don't have bool ! */ -#undef CCTK_HAVE_CXX_BOOL +#undef HAVE_CCTK_CXX_BOOL -#ifndef CCTK_HAVE_CXX_BOOL +#ifndef HAVE_CCTK_CXX_BOOL typedef enum {false, true} bool; +#else +/* deprecated in beta15 */ +#define CCTK_HAVE_CXX_BOOL #endif /* Some C++ compilers recognise the restrict keyword */ |