diff options
author | Tobias Nygren <[email protected]> | 2015-04-17 20:27:55 +0200 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-17 12:04:48 -0700 |
commit | cfab4ea9c654819c96272a62d7b1664e9038fe91 (patch) | |
tree | 322be9dda2d033cfdc3e82adc6e735210568f9ad /src/mesa/drivers/dri/common/xmlconfig.c | |
parent | 52e4e4712f0da7e7e1d1164d9487f2d38f80c441 (diff) |
adjust a couple of ifdefs to handle NetBSD correctly
Acked-by: Matt Turner <[email protected]>
Signed-off-by: Tobias Nygren <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlconfig.c')
-rw-r--r-- | src/mesa/drivers/dri/common/xmlconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index 2b284ccf28f..f17693e739f 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -56,7 +56,7 @@ extern char *program_invocation_name, *program_invocation_short_name; # include <stdlib.h> # define GET_PROGRAM_NAME() getprogname() # endif -#elif defined(__NetBSD__) && defined(__NetBSD_Version) && (__NetBSD_Version >= 106000100) +#elif defined(__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106000100) # include <stdlib.h> # define GET_PROGRAM_NAME() getprogname() #elif defined(__APPLE__) |