annotate mangle.h @ 22697:2fe9bd97a7f6

Fix configure -march detection for athlon-xp The configure script uses SSE support to distinguish between athlon and athlon-xp, but SSE support was tested _after_ deciding the basic CPU type. Thus athlon-xp was always misdetected as athlon. Fix this by moving the CPU extensions check before the CPU type check. Patch from Andrew Savchenko, bircoph list ru.
author uau
date Sun, 18 Mar 2007 13:38:55 +0000
parents 7b408d60de9e
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
1 /* mangle.h - This file has some CPP macros to deal with different symbol
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
2 * mangling across binary formats.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
5 */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
6
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
7 #ifndef __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
8 #define __MANGLE_H
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
9
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
10 /* Feel free to add more to the list, eg. a.out IMO */
9762
4e2d477981e2 MINGW32 port
faust3
parents: 8249
diff changeset
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
18104
7b408d60de9e add support for intel mac. mp3lib is not fixed yet.
nplourde
parents: 9762
diff changeset
12 (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
4243
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
13 #define MANGLE(a) "_" #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
14 #else
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
15 #define MANGLE(a) #a
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
16 #endif
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
17
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
18 #endif /* !__MANGLE_H */
05ad38cc0338 mangle.h does symbolmangling on win32
atmos4
parents:
diff changeset
19