diff emulation/libretro-3dengine/patch-clang.patch @ 835:680e54061bc7

emulation/libretro-3dengine: initial import, closes #2115
author David Demelier <markand@malikania.fr>
date Thu, 22 Aug 2019 20:02:00 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emulation/libretro-3dengine/patch-clang.patch	Thu Aug 22 20:02:00 2019 +0200
@@ -0,0 +1,23 @@
+--- shared.hpp.orig	2019-08-22 12:44:01.518028824 +0000
++++ shared.hpp	2019-08-22 12:44:12.762029170 +0000
+@@ -19,19 +19,12 @@
+ #ifndef SHARED_HPP__
+ #define SHARED_HPP__
+ 
+-#if defined(_MSC_VER) || defined(EMSCRIPTEN)
+ #include <memory>
+-#ifdef _MSC_VER
+-#define snprintf _snprintf
+-#endif
+-#else
+-#include <tr1/memory>
+-#endif
+ 
+ #if defined(__QNX__) || defined(__CELLOS_LV2__) || defined(IOS) || defined(OSX)
+ namespace std1 = compat;
+ #elif !defined(EMSCRIPTEN)
+-namespace std1 = std::tr1;
++namespace std1 = std;
+ #endif
+ 
+ #include <libretro.h>