summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
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 <signal.h>
#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 <signal.h>
#include <${SWORD_INCLUDE_DIRS}/sysdata.h>
- main() {}
+ int main() {}
"
SWORD_WITH_SANE_USERSPACE_TYPES
)