Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 2cea5c0

Browse files
committed
[osx] adding preprocessor directives to fix include on OSX.
1 parent ac4579f commit 2cea5c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go-python.h

+4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#ifndef GOPYTHON_GOPYTHON_H
22
#define GOPYTHON_GOPYTHON_H 1
33

4+
#ifdef __APPLE__
5+
#include "Python/Python.h"
6+
#else
47
#include "Python.h"
8+
#endif
59

610
#include "frameobject.h"
711
#include "marshal.h"

0 commit comments

Comments
 (0)