projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a34cc
)
mesa: Use __OpenBSD__ to check for OpenBSD.
author
Matthieu Herrb
<matthieu.herrb@laas.fr>
Sun, 18 Apr 2010 23:55:36 +0000
(16:55 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 15:33:42 +0000
(09:33 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/common/xmlconfig.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa/drivers/dri/common/xmlconfig.c
index 477259ea7e0fcc373849dba2db412a5cc5065c35..a6d6c999a75e922d2b4c0b7488d8a86eb3084793 100644
(file)
--- 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. */