[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix xs Python module for Python <2.3.



ChangeSet 1.1718, 2005/06/13 23:48:36+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix xs Python module for Python <2.3.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 xs.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/tools/python/xen/lowlevel/xs/xs.c 
b/tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c 2005-06-13 19:03:24 -04:00
+++ b/tools/python/xen/lowlevel/xs/xs.c 2005-06-13 19:03:24 -04:00
@@ -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"
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.