]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libxmp-lite/0001-msvc-buildfix.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libxmp-lite / 0001-msvc-buildfix.patch
CommitLineData
1e59de90
TL
1diff -Naur .\libxmp-lite-4.4.1/src/common.h .\libxmp-lite-4.4.1-orig/src/common.h
2--- a/src/common.h 2016-07-16 13:37:36 +0200
3+++ b/src/common.h 2017-05-23 00:52:17 +0200
4@@ -77,19 +77,12 @@
5 #ifndef CLIB_DECL
6 #define CLIB_DECL
7 #endif
8-#ifdef DEBUG
9-#ifndef ATTR_PRINTF
10-#define ATTR_PRINTF(x,y)
11-#endif
12-void CLIB_DECL D_(const char *text, ...) ATTR_PRINTF(1,2);
13-#else
14 // VS prior to VC7.1 does not support variadic macros. VC8.0 does not optimize unused parameters passing
15 #if _MSC_VER < 1400
16 void __inline CLIB_DECL D_(const char *text, ...) { do {} while (0); }
17 #else
18 #define D_(args, ...) do {} while (0)
19 #endif
20-#endif
21
22 #elif defined __ANDROID__
23