Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Christian Schmidbauer
> On Thu, Nov 2, 2017 at 11:45 AM, Andres Rodriguez wrote: >> >> >> On 2017-11-02 01:52 PM, Eric Engestrom wrote: >>> >>> On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: > > On Wed 01 Nov 2017, Dylan Baker

Re: [Mesa-dev] [PATCH] st/nine: clean up WINAPI definition

2016-05-04 Thread Christian Schmidbauer
On Sun, May 1, 2016 at 6:03 PM, Axel Davy wrote: > Do we need the #ifndef WINAPI part ? > > Axel > > > On 29/04/2016 20:53, Christian Schmidbauer wrote: >> >> As Emil pointed out, only gcc, clang and MSVC compatibility is required. >> Hence the check for

Re: [Mesa-dev] [PATCH] st/nine: clean up WINAPI definition

2016-05-04 Thread Christian Schmidbauer
On Sun, May 1, 2016 at 12:02 PM, Emil Velikov wrote: > Hi Christian, > > On 29 April 2016 at 19:53, Christian Schmidbauer > wrote: >> As Emil pointed out, only gcc, clang and MSVC compatibility is required. >> Hence the check for GNUC can be skipped, as __i386__ an

[Mesa-dev] [PATCH] st/nine: clean up WINAPI definition

2016-04-29 Thread Christian Schmidbauer
As Emil pointed out, only gcc, clang and MSVC compatibility is required. Hence the check for GNUC can be skipped, as __i386__ and __x86_64__ are only defined for gcc/clang, not for MSVC. Remove the #undef which has been there for historic reasons, when wine dlls for nine have been built inside mes

Re: [Mesa-dev] [PATCH] st/nine: correctly fold guards around define WINAPI

2016-04-15 Thread Christian Schmidbauer
rong as those are set by MSVC. > > If at some point we do start building with the Sun/Oracle compiler we > might need to add the __i386 and __x86-64 and explicit checks for > __attribute__(foo) as the latter is not something that exists there. > > Cc: Christian Schmidbauer > Cc

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 tar

[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. ---