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"