summaryrefslogtreecommitdiff
path: root/cmake/config.h.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2011-05-28 13:59:50 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2011-05-28 14:02:15 +0200
commitb1e28fba0bcbd62d3cfbd6ce861de036d9d0537a (patch)
treea5fa7d16d941f7a446634704adea6763879803fb /cmake/config.h.cmake
parent6d2b67fc03a2a0de744bc343791d0b13a1cbf301 (diff)
downloaddbus-b1e28fba0bcbd62d3cfbd6ce861de036d9d0537a.tar.gz
Fixes for Visual Studio 2010 cmake generator - reported by Ray Satiro.
Diffstat (limited to 'cmake/config.h.cmake')
-rw-r--r--cmake/config.h.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index df3d45a4..5220a8d5 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -252,4 +252,8 @@
#define _dbus_verbose_C_S _dbus_verbose
#endif
+# if defined(_MSC_VER) && !defined(inline)
+#define inline __inline
+#endif
+
#endif // _DBUS_CONFIG_H