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
This commit is contained in:
@@ -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__ */
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user