Permalink
Browse files

Fixed undefined symbol on python3.2

  • Loading branch information...
1 parent 4aadc2f commit cf3c29dfcc2598d32d37f35390810c5248cc534f rickey committed Jul 8, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 py_yajl.h
View
2 py_yajl.h
@@ -39,6 +39,8 @@
#if PY_MAJOR_VERSION >= 3
#define IS_PYTHON3
+#define PyString_AsStringAndSize PyBytes_AsStringAndSize
+#define PyString_Check PyBytes_Check
#endif
typedef struct {

0 comments on commit cf3c29d

Please sign in to comment.