mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:41:48 +08:00
3ef62a2a76
* add omniorb port * v db * fix stuff i didn't test * try running without pythonpath on linux * dont care to fix osx * format manifest wants it braced. * v db * use & instead of , * v db * also disallow x86 on windows * v db * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * format * v db * cleanup * v db --------- Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
14 lines
375 B
Diff
14 lines
375 B
Diff
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
|
|
|