]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/freeglut/fix-debug-macro.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / freeglut / fix-debug-macro.patch
1 diff --git a/include/GL/freeglut_std.h b/include/GL/freeglut_std.h
2 index a658c7c..a5efb3b 100644
3 --- a/include/GL/freeglut_std.h
4 +++ b/include/GL/freeglut_std.h
5 @@ -70,7 +70,7 @@
6
7 /* Link with Win32 static freeglut lib */
8 # if FREEGLUT_LIB_PRAGMAS
9 -# ifdef NDEBUG
10 +# if defined(NDEBUG) || !defined(_DEBUG)
11 # pragma comment (lib, "freeglut_static.lib")
12 # else
13 # pragma comment (lib, "freeglut_staticd.lib")
14 @@ -88,7 +88,7 @@
15
16 /* Link with Win32 shared freeglut lib */
17 # if FREEGLUT_LIB_PRAGMAS
18 -# ifdef NDEBUG
19 +# if defined(NDEBUG) || !defined(_DEBUG)
20 # pragma comment (lib, "freeglut.lib")
21 # else
22 # pragma comment (lib, "freeglutd.lib")
23 diff --git a/src/blackberry/fg_main_blackberry.c b/src/blackberry/fg_main_blackberry.c
24 index a1b9cbb..a20c53d 100644
25 --- a/src/blackberry/fg_main_blackberry.c
26 +++ b/src/blackberry/fg_main_blackberry.c
27 @@ -31,7 +31,7 @@
28 #include "fg_internal.h"
29 #include "egl/fg_window_egl.h"
30
31 -#ifdef NDEBUG
32 +#if defined(NDEBUG) || !defined(_DEBUG)
33 #define LOGI(...)
34 #endif
35