summaryrefslogtreecommitdiff
path: root/patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch
blob: bc40f21c1b3379c0ae3ee8ecd7390ca17b5ae9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 4efc6b9bc08ee8b2d51524a54b957df88003136e Mon Sep 17 00:00:00 2001
From: Czarek Nakamoto <cyjan@mrcyjanek.net>
Date: Sat, 7 Mar 2026 00:20:47 +0100
Subject: [PATCH] workaround: no-op MARK_AS_POD_C11

---
 contrib/epee/include/misc_language.h | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/contrib/epee/include/misc_language.h b/contrib/epee/include/misc_language.h
index 04cb9750..7d512c3d 100644
--- a/contrib/epee/include/misc_language.h
+++ b/contrib/epee/include/misc_language.h
@@ -39,16 +39,7 @@
 #include "auto_val_init.h"
 
 
-#define MARK_AS_POD_C11(type)   \
-namespace std  \
-{  \
-  template<> \
-struct is_pod< type > \
-  { \
-  static const bool value = true; \
-  }; \
-}
-
+#define MARK_AS_POD_C11(type)
 
 namespace epee
 {
-- 
2.51.0