summaryrefslogtreecommitdiff
path: root/devel/py-kqueue/patches/patch-aa
blob: bb049a38350dcef3de503a8285f240e65d2eebc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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 =-=-=-=-=-=-=-=-=-=-=-= */