git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3034
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/* */
/* Version: $Id$ */
/* */
/* 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
#ifdef __GNUG__
#pragma interface
-#endif /* __GTKSETUPH__ */
+#endif /* __WX_SETUP_H__ */
// When using configure, the path must be "zlib.h" I don't know
// what other ports (wxMac, wxMotif without configure) need here.
// 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"
#include "..\zlib\zlib.h"
#else
#include "zlib.h"