pkgsrc/devel/py-kqueue/patches/patch-aa
2004-12-28 15:17:51 +00:00

15 lines
510 B
Text

$NetBSD: patch-aa,v 1.1 2004/12/28 15:17:51 wiz Exp $
--- kqueuemodule.c.orig 2002-11-24 10:19:42.000000000 +0100
+++ kqueuemodule.c
@@ -30,6 +30,10 @@
#include <Python.h>
+#if defined(PY_LONG_LONG) && !defined(LONG_LONG)
+#define LONG_LONG PY_LONG_LONG
+#endif
+
#include <sys/event.h>
/* -=-=-=-=-=-=-=-=-=-=-=-= KEvent Object =-=-=-=-=-=-=-=-=-=-=-= */