summaryrefslogtreecommitdiff
path: root/lib/make/cctk_Config.h.in
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-01-15 19:35:10 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-01-15 19:35:10 +0000
commit22f6814985f3c559a437541e701b14a22e1ed0dc (patch)
tree83b241f8224a4de9d1d0197de45a9b3c36795c5b /lib/make/cctk_Config.h.in
parentfda08b3a2eeb39f24757d2549f790f105f1dd3b8 (diff)
Make CCTK_REAL16 more flexible
Instead of assuming that CCTK_REAL16 is real*16 in Fortran, allow any real*N for user-specified values of N. This enables using CCTK_REAL16 e.g. with gcc versions that call it real*10. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4935 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/cctk_Config.h.in')
-rw-r--r--lib/make/cctk_Config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in
index 3325828f..a2219e20 100644
--- a/lib/make/cctk_Config.h.in
+++ b/lib/make/cctk_Config.h.in
@@ -568,6 +568,9 @@ typedef enum {false, true} bool;
#undef HAVE_CCTK_FORTRAN_COMPLEX16
#undef HAVE_CCTK_FORTRAN_COMPLEX32
+#undef CCTK_REAL16_KIND
+#undef CCTK_COMPLEX32_KIND
+
/* OpenMP collapse clause */
#if defined __INTEL_COMPILER && __INTEL_COMPILER_BUILD_DATE < 20100801
/* see http://software.intel.com/en-us/articles/intel-professional-edition-compilers-111-fixes-list/ */