vc4: check preprocessor token existence using #ifdef instead of #if
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 24 Nov 2017 16:58:43 +0000 (16:58 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 28 Nov 2017 09:50:36 +0000 (09:50 +0000)
commit7bb89e1c8f314a9d8e591a7531722a15f0ac72d0
tree0c9867eebb5c5e7e3b58d11c31824b093d81f198
parentb43daf7bf6cb505ece025c718ac6f074c38b2d49
vc4: check preprocessor token existence using #ifdef instead of #if

(other uses of USE_VC4_SIMULATOR are already correct)

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_screen.c