Re: [Mesa-dev] [PATCH mesa 06/16] amd/addrlib: fix macro test

2017-11-24 Thread Marek Olšák
I'd like to keep the code as-is, because addrlib is an external project. Marek On Fri, Nov 24, 2017 at 7:07 PM, Eric Engestrom wrote: > Check macro existence instead of relying on the compiler turning undef into 0. > > Signed-off-by: Eric Engestrom > --- > src/amd/addrlib/core/addrlib1.cpp |

[Mesa-dev] [PATCH mesa 06/16] amd/addrlib: fix macro test

2017-11-24 Thread Eric Engestrom
Check macro existence instead of relying on the compiler turning undef into 0. Signed-off-by: Eric Engestrom --- src/amd/addrlib/core/addrlib1.cpp | 2 +- src/amd/addrlib/r800/egbaddrlib.cpp | 4 ++-- src/amd/addrlib/r800/siaddrlib.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)