Commits

Anonymous committed 39b91cb

Make it compile on Windows.

Comments (0)

Files changed (1)

Modules/pyexpat.c

         xmlhandler handler;
 };
 
-static struct HandlerInfo handler_info[];
+staticforward struct HandlerInfo handler_info[];
 
 static PyObject *conv_atts( XML_Char **atts){
         PyObject *attrs_obj=NULL;
         return RETURN; \
 }
 
+#define NOTHING /**/
+
 #define VOID_HANDLER( NAME, PARAMS, PARAM_FORMAT ) \
-        RC_HANDLER( void, NAME, PARAMS, , PARAM_FORMAT, , ,\
+        RC_HANDLER( void, NAME, PARAMS, NOTHING, PARAM_FORMAT, NOTHING, NOTHING,\
         (xmlparseobject *)userData )
 
 #define INT_HANDLER( NAME, PARAMS, PARAM_FORMAT )\