You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
2b0aeb16a7
- use `cmake 1.1` PortGroup See: https://trac.macports.org/ticket/47197
21 lines
489 B
Diff
21 lines
489 B
Diff
--- tinyxml.h.orig 2011-05-14 20:24:57
|
|
+++ tinyxml.h 2026-02-04 17:20:26
|
|
@@ -26,6 +26,17 @@
|
|
#ifndef TINYXML_INCLUDED
|
|
#define TINYXML_INCLUDED
|
|
|
|
+/*
|
|
+MacPorts patch:
|
|
+If we are going to hard code TIXML_USE_STL in the header file,
|
|
+then respect previous definitions in packages that define their own.
|
|
+Also stop floods of "macro redefined" warnings.
|
|
+*/
|
|
+
|
|
+#ifndef TIXML_USE_STL
|
|
+#define TIXML_USE_STL
|
|
+#endif
|
|
+
|
|
#ifdef _MSC_VER
|
|
#pragma warning( push )
|
|
#pragma warning( disable : 4530 )
|