summaryrefslogtreecommitdiff
path: root/patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch')
-rw-r--r--patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch b/patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch
new file mode 100644
index 0000000..bc40f21
--- /dev/null
+++ b/patches/zano/0010-workaround-no-op-MARK_AS_POD_C11.patch
@@ -0,0 +1,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
+