aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-14 21:27:58 +0100
committerJosé Fonseca <[email protected]>2009-04-14 21:43:10 +0100
commit1ea7f0fef055245fa18c0fbc3e54a866956c2507 (patch)
treee00ed079a268b67170d54e6b99d42a8b1a6acb05 /src/mesa/state_tracker
parent153012b29b4f2183a1be6a01eec63e720a192718 (diff)
mesa: Fix gcc assembly enable logic.
The i386 symbol is defined on WINDDK.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 57c0544ba8b..1f14b3705d5 100644
--- 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)
{