Skip to content

Commit

Permalink
Try removing Python.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Oct 24, 2019
1 parent 4ca6424 commit d426f3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/FindPythonExtensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ function(python_modules_header _name)
set(_chunk "${_chunk}#ifndef ${_header_name_upper}\n")
set(_chunk "${_chunk}#define ${_header_name_upper}\n")
set(_chunk "${_chunk}\n")
set(_chunk "${_chunk}#include <Python.h>\n")
set(_chunk "${_chunk}\n")
set(_chunk "${_chunk}#ifdef __cplusplus\n")
set(_chunk "${_chunk}extern \"C\" {\n")
set(_chunk "${_chunk}#endif /* __cplusplus */\n")
Expand Down

0 comments on commit d426f3d

Please sign in to comment.