From bfcc7d7fd037dbaa3bf7368d246f76248304f82a Mon Sep 17 00:00:00 2001 From: Harco de Hilster Date: Sun, 18 Jul 1999 00:07:32 +0000 Subject: [PATCH] Now uses #define __WX_SETUP_H__ to signify that we're using configure git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- acconfig.h | 8 +++++--- src/common/zstream.cpp | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/acconfig.h b/acconfig.h index b3df8c6f0d..72918fca30 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,8 +2,10 @@ /* */ /* Version: $Id$ */ -#ifndef __GTKSETUPH__ -#define __GTKSETUPH__ +/* This define (__WX_SETUP_H__) is used both to insure setup.h is included + * only once and to indicate that we are building using configure. */ +#ifndef __WX_SETUP_H__ +#define __WX_SETUP_H__ #ifdef __GNUG__ #pragma interface @@ -611,4 +613,4 @@ @BOTTOM@ -#endif /* __GTKSETUPH__ */ +#endif /* __WX_SETUP_H__ */ diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index ac6f482ae0..8ccb8710db 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -29,9 +29,9 @@ // When using configure, the path must be "zlib.h" I don't know // what other ports (wxMac, wxMotif without configure) need here. -// If we are building with ./configure, we trust the zlib path is -// given as a -I option. (confusingly configure defines __GTKSETUPH__) -#if defined(__WXMSW__) && !defined(__GTKSETUPH__) +// If we are building with configure (defines __WX_SETUP_H__), +// we trust the zlib path is given as a -I option. +#if defined(__WXMSW__) && !defined(__WX_SETUP_H__) #include "..\zlib\zlib.h" #else #include "zlib.h" -- 2.45.2