Hi,
I found a difference between the POSIX and the BSD implementation of
ioctl, and the FPC fpioctrl is set as the way BSD is working.
My patch fixes that, making different decleration according to
BSD/everything else. Please note that accidentally Linuxs' ioctl have
parameters the way POSIX spec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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.
Ales
> Hi,
>
> I found a difference between the POSIX and the BSD implementation of
> ioctl, and the FPC fpioctrl is set as th
> 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-b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's ugly but have a look at the .inc files. There are ifdefs already,
eg: for beos all over the place.
If we declare a new type, where do we put it?
> I don't like this solution. There is no way possible now to have a piece of
> code without ifdefs t