Re: [Mesa-dev] [PATCH] st/nine: specify WINAPI only for i386 and amd64

2016-03-21 Thread Christian Schmidbauer
On Mon, Mar 21, 2016 at 2:10 PM, Steven Newbury wrote: > On Thu, 2016-03-17 at 20:12 +0100, Christian Schmidbauer wrote: >> Currently mesa fails building with the x32 abi as ms_abi is not >> defined >> in such a case. >> >> The patch uses ms_abi only for amd64 targets and stdcall only for >> i386

Re: [Mesa-dev] [PATCH] st/nine: specify WINAPI only for i386 and amd64

2016-03-21 Thread Steven Newbury
On Thu, 2016-03-17 at 20:12 +0100, Christian Schmidbauer wrote: > Currently mesa fails building with the x32 abi as ms_abi is not > defined > in such a case. > > The patch uses ms_abi only for amd64 targets and stdcall only for > i386 > targets to be sure that those are defined. > Being quite inv

Re: [Mesa-dev] [PATCH] st/nine: specify WINAPI only for i386 and amd64

2016-03-21 Thread Axel Davy
Hi, This looks good to me, but I'm not expert it compilers at all, could someone with more experience look at it ? Axel On 17/03/2016 20:12, Christian Schmidbauer wrote : Currently mesa fails building with the x32 abi as ms_abi is not defined in such a case. The patch uses ms_abi only for amd

[Mesa-dev] [PATCH] st/nine: specify WINAPI only for i386 and amd64

2016-03-19 Thread Christian Schmidbauer
Currently mesa fails building with the x32 abi as ms_abi is not defined in such a case. The patch uses ms_abi only for amd64 targets and stdcall only for i386 targets to be sure that those are defined. This patch additionally checks for __GNUC__ to guarantee that __attribute__ is available. ---