summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-09 15:33:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-09 15:33:08 (GMT)
commitcedf03b30711a1d93f00eaed0b92dc3538ec660d (patch)
tree56eabd9d5f2e11b95749e05734935485c14af610 /Modules
parent0ea589fdfcd9082122829d4959adc842cacbc558 (diff)
parent5da1580adaa0b7ccf5f3a6afac5e9cae615ca163 (diff)
downloadCMake-cedf03b30711a1d93f00eaed0b92dc3538ec660d.zip
CMake-cedf03b30711a1d93f00eaed0b92dc3538ec660d.tar.gz
CMake-cedf03b30711a1d93f00eaed0b92dc3538ec660d.tar.bz2
Merge topic 'mingw-gfortran-sizeof-dptr'
5da1580 Fortran: Improve pointer size detection in gfortran on MinGW
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFortranCompilerABI.F4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompilerABI.F b/Modules/CMakeFortranCompilerABI.F
index 7e24553..21ca7ff 100644
--- a/Modules/CMakeFortranCompilerABI.F
+++ b/Modules/CMakeFortranCompilerABI.F
@@ -20,6 +20,10 @@
PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 4
PRINT *, 'INFO:sizeof_dptr[4]'
+#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 8
+ PRINT *, 'INFO:sizeof_dptr[8]'
+#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 4
+ PRINT *, 'INFO:sizeof_dptr[4]'
#endif
#if 0