ati_hack only makes sense when PBOs are used, not with mesa_buffer.
[mplayer/glamo.git] / mangle.h
blobd8e2089a5f1071d33ab01e1624d10287510f1ea4
1 /* mangle.h - This file has some CPP macros to deal with different symbol
2 * mangling across binary formats.
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
5 */
7 #ifndef MPLAYER_MANGLE_H
8 #define MPLAYER_MANGLE_H
10 #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
11 #define attribute_used __attribute__((used))
12 #else
13 #define attribute_used
14 #endif
16 /* Feel free to add more to the list, eg. a.out IMO */
17 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
18 (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
19 #define MANGLE(a) "_" #a
20 #else
21 #define MANGLE(a) #a
22 #endif
24 #endif /* MPLAYER_MANGLE_H */