[libpeas/libpeas-1.8.1-osx] Define NO_IMPORT_PYGOBJECT on osx
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas/libpeas-1.8.1-osx] Define NO_IMPORT_PYGOBJECT on osx
- Date: Sun, 26 Jan 2014 14:15:20 +0000 (UTC)
commit 6a8f1dc0cb5d7f314b8a66173064eb8751e4cfbe
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Jan 26 15:14:19 2014 +0100
Define NO_IMPORT_PYGOBJECT on osx
loaders/python/peas-plugin-loader-python.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index 1a4d67e..6f28d36 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -27,6 +27,10 @@
#include "peas-extension-python.h"
#include "peas-plugin-loader-python.h"
+#ifdef OS_OSX
+#define NO_IMPORT_PYGOBJECT
+#endif
+
/* _POSIX_C_SOURCE is defined in Python.h and in limits.h included by
* glib-object.h, so we unset it here to avoid a warning. Yep, that's bad. */
#undef _POSIX_C_SOURCE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]