aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/omniorb/msvc-src-build-fixes.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/omniorb/msvc-src-build-fixes.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/omniorb/msvc-src-build-fixes.patch')
-rw-r--r--vcpkg/ports/omniorb/msvc-src-build-fixes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/omniorb/msvc-src-build-fixes.patch b/vcpkg/ports/omniorb/msvc-src-build-fixes.patch
new file mode 100644
index 0000000..fb7ae67
--- /dev/null
+++ b/vcpkg/ports/omniorb/msvc-src-build-fixes.patch
@@ -0,0 +1,13 @@
+diff --git a/include/omnithread/atomic.h b/include/omnithread/atomic.h
+index 3fed8df..e1b6a71 100644
+--- a/include/omnithread/atomic.h
++++ b/include/omnithread/atomic.h
+@@ -27,7 +27,7 @@
+ #define __omnithread_atomic_h_
+
+
+-#ifdef OMNI_HAVE_SYNC_ADD_AND_FETCH
++#if defined(OMNI_HAVE_SYNC_ADD_AND_FETCH) && !defined(_MSC_VER)
+
+ # define OMNI_REFCOUNT_DEFINED
+