https://github.com/libsdl-org/Maelstrom/commit/e3f4961db16377e23b86d1b333417d560de007da
From e3f4961db16377e23b86d1b333417d560de007da Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 27 Jul 2012 17:55:44 -0700
Subject: [PATCH] Make the use of STL optional
---
utils/rapidxml.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/utils/rapidxml.h b/utils/rapidxml.h
index 6e8c0d83..bc7072eb 100644
--- a/utils/rapidxml.h
+++ b/utils/rapidxml.h
@@ -19,6 +19,7 @@
#ifndef _rapidxml_h
#define _rapidxml_h
+#ifndef USE_STL
#define RAPIDXML_NO_STDLIB
#include <assert.h>
@@ -30,6 +31,8 @@ namespace std
extern inline void * operator new (size_t, void * p) throw() { return p ; }
+#endif // !USE_STL
+
#include "rapidxml.hpp"
#endif // _rapidxml_h