OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e2119
)
mesa: Fix Mac OS build.
author
Vinson Lee
<vlee@vmware.com>
Tue, 20 Oct 2009 16:43:46 +0000
(10:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 20 Oct 2009 16:43:49 +0000
(10:43 -0600)
strtod_l needs the xlocale.h header on Mac OS. It's possible other
non-Linux OSes would need this header too.
src/mesa/main/imports.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.c
b/src/mesa/main/imports.c
index
87cb5ce
..
30fa559
100644
(file)
--- a/
src/mesa/main/imports.c
+++ b/
src/mesa/main/imports.c
@@
-50,6
+50,9
@@
#ifdef _GNU_SOURCE
#include <locale.h>
+#ifdef __APPLE__
+#include <xlocale.h>
+#endif
#endif