]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/cgicc/fix-static-build.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / cgicc / fix-static-build.patch
CommitLineData
1e59de90
TL
1diff --git a/cgicc/CgiDefs.h.in b/cgicc/CgiDefs.h.in
2index 71b70ad..3793cd8 100644
3--- a/cgicc/CgiDefs.h.in
4+++ b/cgicc/CgiDefs.h.in
5@@ -47,7 +47,9 @@
6 #ifdef WIN32
7
8 // export library symbols
9-# ifdef CGICC_EXPORTS
10+# ifdef CGICC_STATIC
11+# define CGICC_API
12+# elif defined(CGICC_EXPORTS)
13 # define CGICC_API __declspec(dllexport)
14 # else
15 # define CGICC_API __declspec(dllimport)