ia64/xen-unstable

changeset 5448:a382b5e24996

bitkeeper revision 1.1713.1.5 (42ae0d44bPpuSBR0o475OuEOeDlNPg)

Fix xs Python module for Python <2.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jun 13 22:48:36 2005 +0000 (2005-06-13)
parents 12cee45bc8c6
children 463317d0dd8b
files tools/python/xen/lowlevel/xs/xs.c
line diff
     1.1 --- a/tools/python/xen/lowlevel/xs/xs.c	Mon Jun 13 15:39:51 2005 +0000
     1.2 +++ b/tools/python/xen/lowlevel/xs/xs.c	Mon Jun 13 22:48:36 2005 +0000
     1.3 @@ -14,9 +14,9 @@
     1.4   */
     1.5  
     1.6  /* Needed for Python versions earlier than 2.3. */
     1.7 -//#ifndef PyMODINIT_FUNC
     1.8 -//#define PyMODINIT_FUNC DL_EXPORT(void)
     1.9 -//#endif
    1.10 +#ifndef PyMODINIT_FUNC
    1.11 +#define PyMODINIT_FUNC DL_EXPORT(void)
    1.12 +#endif
    1.13  
    1.14  #define PYPKG    "xen.lowlevel.xs"
    1.15