From 3f1319586cd1747ada3213e87243973c089a1e2e Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Mon, 10 Jul 2006 07:15:40 +0000 Subject: [PATCH] fixed libxml for MacOS X --- Demos/OpenGL/DebugCastResult.h | 6 ++++++ Extras/LibXML/config.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Demos/OpenGL/DebugCastResult.h b/Demos/OpenGL/DebugCastResult.h index 17bc19f13..a21d2bb24 100644 --- a/Demos/OpenGL/DebugCastResult.h +++ b/Demos/OpenGL/DebugCastResult.h @@ -22,7 +22,13 @@ subject to the following restrictions: #ifdef WIN32 #include #endif +//think different +#if defined(__APPLE__) && !defined (VMDMESA) +#include +#include +#else #include +#endif struct DebugCastResult : public ConvexCast::CastResult { diff --git a/Extras/LibXML/config.h b/Extras/LibXML/config.h index 2febfcde3..fb5761d31 100644 --- a/Extras/LibXML/config.h +++ b/Extras/LibXML/config.h @@ -18,7 +18,7 @@ #define HAVE_GETADDRINFO /* Define to 1 if you have the header file. */ -#define HAVE_ANSIDECL_H 1 +//#define HAVE_ANSIDECL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1