MinGW64 no longer prefixes symbols with underscores by default
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@536 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 553889b..92b2859 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -35,6 +35,14 @@
the unaccelerated decoder and throws a warning if an unexpected marker is found
in the middle of the JPEG data stream.
+[3] Older versions of MinGW64 prefixed symbol names with underscores by
+default, which differed from the behavior of 64-bit Visual C++. MinGW64 1.0
+has adopted the behavior of 64-bit Visual C++ as the default, so to accommodate
+this, the libjpeg-turbo SIMD function names are no longer prefixed with an
+underscore when building with MinGW64. This means that, when building
+libjpeg-turbo with older versions of MinGW64, you will now have to add
+-fno-leading-underscore to the CFLAGS.
+
1.1.0
=====
diff --git a/simd/jsimdext.inc b/simd/jsimdext.inc
index 4ea3d17..c4297f9 100644
--- a/simd/jsimdext.inc
+++ b/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)