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

Commit

Permalink
[osx] adding preprocessor directives to fix include on OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Dec 29, 2016
1 parent ac4579f commit 2cea5c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go-python.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#ifndef GOPYTHON_GOPYTHON_H
#define GOPYTHON_GOPYTHON_H 1

#ifdef __APPLE__
#include "Python/Python.h"
#else
#include "Python.h"
#endif

#include "frameobject.h"
#include "marshal.h"
Expand Down

0 comments on commit 2cea5c0

Please sign in to comment.