Hi,

This patch broke the build on some platforms (Win32 with MSVC++ included).

 INTVAL
 PIO_poll(Interp *interp, PMC *pmc, INTVAL which, INTVAL sec, INTVAL
usec)
 {
+    if (pmc == PMCNULL) {
+     real_exception(interp, NULL, E_ValueError, "Can't poll NULL
pmc");
+    }
     ParrotIOLayer * const l = PMC_struct_val(pmc);
     ParrotIO * const io = PMC_data0(pmc);
Under C89, declarations must come first. Fixed in r18187.

Thanks,

Jonathan

Reply via email to