summaryrefslogtreecommitdiffstats
path: root/Include/internal/gil.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-10-30 14:14:25 (GMT)
committerGitHub <noreply@github.com>2018-10-30 14:14:25 (GMT)
commit31368a4f0e531c19affe2a1becd25fc316bc7501 (patch)
tree79627d42611a04288b832799204c77b2688f9872 /Include/internal/gil.h
parent9204fb8623896cc5f68ae350784ee25e8a7b2184 (diff)
downloadcpython-31368a4f0e531c19affe2a1becd25fc316bc7501.zip
cpython-31368a4f0e531c19affe2a1becd25fc316bc7501.tar.gz
cpython-31368a4f0e531c19affe2a1becd25fc316bc7501.tar.bz2
bpo-35081: Move Include/pyatomic.c to Include/internal/ (GH-10239)
Add pyatomic.h to the VS project (it wasn't referenced).
Diffstat (limited to 'Include/internal/gil.h')
-rw-r--r--Include/internal/gil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/gil.h b/Include/internal/gil.h
index 6139bd2..7743b3f 100644
--- a/Include/internal/gil.h
+++ b/Include/internal/gil.h
@@ -4,11 +4,11 @@
extern "C" {
#endif
-#include "pyatomic.h"
-
#include "internal/condvar.h"
+#include "internal/pyatomic.h"
+
#ifndef Py_HAVE_CONDVAR
-#error You need either a POSIX-compatible or a Windows system!
+# error You need either a POSIX-compatible or a Windows system!
#endif
/* Enable if you want to force the switching of threads at least