Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Move include to Pytho.h
  • Loading branch information
Eclips4 committed Jun 11, 2024
commit 5a1dd9c6abad1acd526adc24fdd55060dd5ca58d
4 changes: 4 additions & 0 deletions Include/Python.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
# error "The limited API is not currently supported in the free-threaded build"
#endif

#if defined(Py_GIL_DISABLED) && defined(_MSC_VER)
# include <intrin.h> // __readgsqword()
#endif

// Include Python header files
#include "pyport.h"
#include "pymacro.h"
Expand Down
3 changes: 0 additions & 3 deletions Include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
extern "C" {
#endif

#if defined(_MSC_VER)
# include <intrin.h>
#endif

/* Object and type object interface */

Expand Down