From c05435d86f46effbb48f460bd664b0c4170c07f1 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 31 Mar 2008 20:15:39 +0000 Subject: [PATCH] cmake: add more to config.h.cmake --- config.h.cmake | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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_ */ -- 2.30.2