Skip to content

Commit

Permalink
Update Include/cpython/pyatomic.h
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
colesbury and vstinner authored Aug 23, 2023
1 parent 462c20a commit 3078328
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Include/cpython/pyatomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,16 +381,16 @@ _Py_atomic_fence_release(void);
#endif

#if _Py_USE_GCC_BUILTIN_ATOMICS
#define Py_ATOMIC_GCC_H
#include "cpython/pyatomic_gcc.h"
# define Py_ATOMIC_GCC_H
# include "cpython/pyatomic_gcc.h"
#elif __STDC_VERSION__ >= 201112L && !defined(__STDC_NO_ATOMICS__)
#define Py_ATOMIC_STD_H
#include "cpython/pyatomic_std.h"
# define Py_ATOMIC_STD_H
# include "cpython/pyatomic_std.h"
#elif defined(_MSC_VER)
#define Py_ATOMIC_MSC_H
#include "cpython/pyatomic_msc.h"
# define Py_ATOMIC_MSC_H
# include "cpython/pyatomic_msc.h"
#else
#error "define pyatomic for this platform"
# error "no available pyatomic implementation for this platform/compiler"
#endif

#endif /* Py_ATOMIC_H */
Expand Down

0 comments on commit 3078328

Please sign in to comment.