Skip to content

Commit 1f959c7

Browse files
author
H. Jay S
committed
Linux compile errors fixed
1 parent 0624e2f commit 1f959c7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/Hermes/BasicPugiSerialization.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
#include <HermesStringView.hpp>
44
#include <HermesData.hpp>
55

6-
#include "pugixml/pugixml.hpp"
6+
#ifdef _WINDOWS
7+
# include "pugixml/pugixml.hpp"
8+
#else
9+
# include "pugixml.hpp"
10+
#endif
711

812
namespace Hermes
913
{

src/Hermes/Serializer.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ limitations under the License.
1818

1919
#include <HermesDataConversion.hpp>
2020

21-
#include "pugixml/pugixml.hpp"
21+
#ifdef _WINDOWS
22+
# include "pugixml/pugixml.hpp"
23+
#else
24+
# include "pugixml.hpp"
25+
#endif
2226

2327
#include <boost/variant.hpp>
2428

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy