diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2010-04-18 16:55:36 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-19 09:33:42 -0600 |
commit | 7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2 (patch) | |
tree | c009fa2c26734c8f9b04f72d2fbc9c0a21430b07 /src/mesa/drivers | |
parent | e3a34cc7f6c9f959cdc2af4486e84587fab4d0d7 (diff) | |
download | external_mesa3d-7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2.zip external_mesa3d-7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2.tar.gz external_mesa3d-7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2.tar.bz2 |
mesa: Use __OpenBSD__ to check for OpenBSD.
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers')
-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 477259e..a6d6c99 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -65,7 +65,7 @@ extern char *program_invocation_name, *program_invocation_short_name; #endif #if !defined(GET_PROGRAM_NAME) -# if defined(OpenBSD) || defined(NetBSD) || defined(__UCLIBC__) +# if defined(__OpenBSD__) || defined(NetBSD) || defined(__UCLIBC__) /* This is a hack. It's said to work on OpenBSD, NetBSD and GNU. * Rogelio M.Serrano Jr. reported it's also working with UCLIBC. It's * used as a last resort, if there is no documented facility available. */ |