comparison 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
comparison
equal deleted inserted replaced
834:2a8448d1b785 835:680e54061bc7
1 --- shared.hpp.orig 2019-08-22 12:44:01.518028824 +0000
2 +++ shared.hpp 2019-08-22 12:44:12.762029170 +0000
3 @@ -19,19 +19,12 @@
4 #ifndef SHARED_HPP__
5 #define SHARED_HPP__
6
7 -#if defined(_MSC_VER) || defined(EMSCRIPTEN)
8 #include <memory>
9 -#ifdef _MSC_VER
10 -#define snprintf _snprintf
11 -#endif
12 -#else
13 -#include <tr1/memory>
14 -#endif
15
16 #if defined(__QNX__) || defined(__CELLOS_LV2__) || defined(IOS) || defined(OSX)
17 namespace std1 = compat;
18 #elif !defined(EMSCRIPTEN)
19 -namespace std1 = std::tr1;
20 +namespace std1 = std;
21 #endif
22
23 #include <libretro.h>