From 98bab6c18253a52c985d09c442a250579c8d245e Mon Sep 17 00:00:00 2001 From: Lance Wallis Date: Mon, 17 Jun 2024 20:22:56 -0500 Subject: [PATCH] Fix LONG LONG detection. --- CMakeLists.txt | 1 + test.xmlfd | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 test.xmlfd diff --git a/CMakeLists.txt b/CMakeLists.txt index d989a73..18151b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ include(CheckTypeSize) set(MXML_VERSION ${CMAKE_PROJECT_VERSION}) +check_type_size("long long" SIZEOF_LONG_LONG) if(SIZEOF_LONG_LONG EQUAL "8") option(HAVE_LONG_LONG_INT "Enable LONG LONG" ON) else() diff --git a/test.xmlfd b/test.xmlfd new file mode 100644 index 0000000..3f260a7 --- /dev/null +++ b/test.xmlfd @@ -0,0 +1,29 @@ + + + + 123 + Now is the time for all good men to come to the aid of their +country. + + +