summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-31 20:15:39 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-31 20:15:39 +0000
commitaa5e552497216bb4a6f30be20cc1c997937edadd (patch)
tree921829a6e71cb0afa1793ae8b235872d709770f7 /config.h.cmake
parentCmake: config.h.cmake for platform checks (diff)
downloadinkscape-aa5e552497216bb4a6f30be20cc1c997937edadd.tar.gz
inkscape-aa5e552497216bb4a6f30be20cc1c997937edadd.zip
cmake: add more to config.h.cmake
(bzr r5278)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake12
1 files changed, 11 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index ccd8080c0..54204ab82 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,3 +1,13 @@
+#ifndef _CONFIG_H_
+#define _CONFIG_H_
+
+/* Define WIN32 when on windows */
+#ifndef WIN32
+#cmakedefine WIN32
+#endif
+
+/* This is for require-config.h */
+#define PACKAGE_TARNAME
/* Use binreloc thread support? */
#cmakedefine BR_PTHREADS
@@ -283,6 +293,6 @@
#cmakedefine mode_t
-
+#endif /* _CONFIG_H_ */