summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRomain Pokrzywka <romain@kdab.com>2010-05-04 15:41:35 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2010-05-05 07:57:28 +0200
commit3222b64d4a5e333ad3f95374a17fc4ecd6bc1431 (patch)
treedf5457f51da2c8f750720a9e9b3da6114f4211b8 /cmake
parent2c604f887efed7b7d16ed8b5cb50e50af8332564 (diff)
fix {u}intptr_t usage on wince with msvc
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake1
-rw-r--r--cmake/config.h.cmake3
2 files changed, 4 insertions, 0 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index b8b6c77c..e48b60d1 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -19,6 +19,7 @@ check_include_file(errno.h HAVE_ERRNO_H) # dbus-sysdeps.c
check_include_file(signal.h HAVE_SIGNAL_H)
check_include_file(locale.h HAVE_LOCALE_H)
check_include_file(inttypes.h HAVE_INTTYPES_H) # dbus-pipe.h
+check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE) # dbus-sysdeps.c, dbus-sysdeps-win.c
check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 4816db9b..956c6d23 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -146,6 +146,9 @@
/* Define to 1 if you have inttypes.h */
#cmakedefine HAVE_INTTYPES_H 1
+/* Define to 1 if you have stdint.h */
+#cmakedefine HAVE_STDINT_H 1
+
// symbols
/* Define to 1 if you have backtrace */
#cmakedefine HAVE_BACKTRACE 1