opnsense-ports/graphics/gle-graphics/files/patch-src_gle_tokens_StringKeyHash.h
Franco Fichtner 72f4db398e */*: sync with upstream
Taken from: HardenedBSD
2017-08-07 09:06:02 +02:00

15 lines
338 B
C++

--- src/gle/tokens/StringKeyHash.h.orig 2012-02-19 21:07:34 UTC
+++ src/gle/tokens/StringKeyHash.h
@@ -75,10 +75,12 @@
using namespace std;
#ifndef GCC2
+#ifndef _LIBCPP_VERSION
#ifndef _MSC_VER
using namespace __gnu_cxx; // using gnu extensions such as "hash"
#endif
#endif
+#endif
#include "RefCount.h"
#include "BinIO.h"