diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index b42d290..20de3d0 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -41,7 +41,7 @@ endif() check_cxx_source_compiles(" #include #include <${SWORD_INCLUDE_DIRS}/sysdata.h> - main() {} + int main() {} " SWORD_WITHOUT_SANE_USERSPACE_TYPES ) @@ -50,7 +50,7 @@ if( NOT SWORD_WITHOUT_SANE_USERSPACE_TYPES ) #define __SANE_USERSPACE_TYPES__ #include #include <${SWORD_INCLUDE_DIRS}/sysdata.h> - main() {} + int main() {} " SWORD_WITH_SANE_USERSPACE_TYPES )