projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153012b
)
mesa: Fix gcc assembly enable logic.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 14 Apr 2009 20:27:58 +0000
(21:27 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 14 Apr 2009 20:43:10 +0000
(21:43 +0100)
The i386 symbol is defined on WINDDK.
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index 57c0544ba8b2112a2f24668769d224136a9573ef..1f14b3705d500293eda0f8024edb3502bf0172e0 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-169,7
+169,7
@@
st_FreeTextureImageData(GLcontext * ctx, struct gl_texture_image *texImage)
* than COPY_DWORDS would:
* XXX Put this in src/mesa/main/imports.h ???
*/
-#if defined(
i386) || defined(__i386__
)
+#if defined(
PIPE_CC_GCC) && defined(PIPE_ARCH_X86
)
static INLINE void *
__memcpy(void *to, const void *from, size_t n)
{