From fb7a3a909d1cca047500e58599316f8f18f9d20f Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 23 Mar 2011 05:58:53 +0000 Subject: [PATCH] Previous versions of MinGW64 prepended an underscore to the symbol names, which was incompatible with the behavior of Visual C++ 64-bit. MinGW64 1.0 changed its default behavior so that underscores are no longer prepended, so this patch removes the underscores from the SIMD symbol names when building with MinGW64, to prevent the build from breaking. Those wishing to build TigerVNC with older MinGW64 versions will need to add -fno-leading-underscore to CFLAGS and CXXFLAGS. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_1@4364 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/jpeg/simd/jsimdext.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/jpeg/simd/jsimdext.inc b/common/jpeg/simd/jsimdext.inc index 4ea3d17c..c4297f9c 100644 --- a/common/jpeg/simd/jsimdext.inc +++ b/common/jpeg/simd/jsimdext.inc @@ -48,9 +48,7 @@ ; %define SEG_TEXT .text align=16 public use64 class=CODE %define SEG_CONST .rdata align=16 public use64 class=CONST -%ifdef MSVC %define EXTN(name) name ; foo() -> foo -%endif %elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)---------- ; * Borland C++ (Win32) -- 2.39.5