From: José Fonseca Date: Tue, 14 Apr 2009 20:27:58 +0000 (+0100) Subject: mesa: Fix gcc assembly enable logic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ea7f0fef055245fa18c0fbc3e54a866956c2507;p=mesa.git mesa: Fix gcc assembly enable logic. The i386 symbol is defined on WINDDK. --- 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) {