[fpc-devel] Re: update for the sndfile.pp binding

2007-09-29 Thread ik
Hi, Here is my latest updates including the example. The example have some issues that I'm unable to understand yet, but it seems that because the code works faster then the C code, it does not write all of the content back to the device. I will try to solve this later on. I fixed a bug and and m

Re: [fpc-devel] a patch for fpioctl

2007-09-29 Thread Katona <[EMAIL PROTECTED]>
-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

Re: [fpc-devel] a patch for fpioctl

2007-09-29 Thread Marco van de Voort
> 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

Re: [fpc-devel] a patch for fpioctl

2007-09-29 Thread Aleš Katona
-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