aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-13 22:48:36 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-13 22:48:36 +0000
commit16e23b02c2f1a7a8d7e5a7c37d717f436ae727d2 (patch)
tree92acc08dda4373ef6f4e2dd327a494cb69742f8e /tools
parent4def5ac864f2736b780010ccf931b3c57f676a9e (diff)
downloadxen-16e23b02c2f1a7a8d7e5a7c37d717f436ae727d2.tar.gz
xen-16e23b02c2f1a7a8d7e5a7c37d717f436ae727d2.tar.bz2
xen-16e23b02c2f1a7a8d7e5a7c37d717f436ae727d2.zip
bitkeeper revision 1.1713.1.5 (42ae0d44bPpuSBR0o475OuEOeDlNPg)
Fix xs Python module for Python <2.3. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/lowlevel/xs/xs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c
index 6ecddc6fd4..0da0fbcb3e 100644
--- a/tools/python/xen/lowlevel/xs/xs.c
+++ b/tools/python/xen/lowlevel/xs/xs.c
@@ -14,9 +14,9 @@
*/
/* Needed for Python versions earlier than 2.3. */
-//#ifndef PyMODINIT_FUNC
-//#define PyMODINIT_FUNC DL_EXPORT(void)
-//#endif
+#ifndef PyMODINIT_FUNC
+#define PyMODINIT_FUNC DL_EXPORT(void)
+#endif
#define PYPKG "xen.lowlevel.xs"