This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: VxWorks Patches Back from the Dead!


On 23 August 2012 09:24, Paolo Bonzini <bonzini@gnu.org> wrote:
> Il 23/08/2012 04:27, rbmj ha scritto:
>> +     c_fix_arg       = "%0\n"
>> +             "#define ioctl(fd, func, arg) ((ioctl)((fd), (func), ((int)(arg))))\n";
>
> This can be simply
>
> #define ioctl(fd, func, arg) ioctl(fd, func, (int)arg)

"(int)(arg)", surely.

Jay.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]