[fpc-devel] a patch for fpioctl

Marco van de Voort marcov at stack.nl
Sat Sep 29 12:49:14 CEST 2007

> Thanks for the patch. It was missing some parts (FPC_USE_LIBC and
> ossysc.inc needed to be changes too). I fixed it in r8676.

I don't like this solution. There is no way possible now to have a piece of
code without ifdefs to work on all platforms. Maybe it wasn't before due to
culong being 64-bits, but this is ugly.

Define a separate type for the second parameter?

More information about the fpc-devel mailing list