summaryrefslogtreecommitdiff
path: root/c/call_python.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-12-05 17:28:22 +0100
committerArmin Rigo <arigo@tunes.org>2015-12-05 17:28:22 +0100
commit1b7657ee41e926fdfb0eae2e8fcc2e9434f751d4 (patch)
treedb92704ce95c49f66e2e4c08218d656bdd6e0dee /c/call_python.c
parent5e6dd24e3bb3a267472e1880bd8d7f0b64c44ab0 (diff)
downloadcffi-1b7657ee41e926fdfb0eae2e8fcc2e9434f751d4.tar.gz
in-progress
Diffstat (limited to 'c/call_python.c')
-rw-r--r--c/call_python.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/call_python.c b/c/call_python.c
index 8196000..1943e7d 100644
--- a/c/call_python.c
+++ b/c/call_python.c
@@ -146,9 +146,9 @@ static int _update_cache_to_call_python(struct _cffi_externpy_s *externpy)
return 2; /* out of memory? */
}
-#if (defined(WITH_THREAD) && !defined(!_MSC_VER) && \
+#if (defined(WITH_THREAD) && !defined(_MSC_VER) && \
!defined(__amd64__) && !defined(__x86_64__) && \
- !defined(__i386__) && !defined(__i386)
+ !defined(__i386__) && !defined(__i386))
# define read_barrier() __sync_synchronize()
#else
# define read_barrier() (void)0