[vlc-devel] VLC_MMX and VLC_SSE function attribute macros breaks outside GCC

Francois Cartegnie fcvlcdev at free.fr
Fri Mar 2 19:59:18 CET 2012


commit 209f1ae07f3380a50f3e920d6ba43a1138fae429 logic:

Breaks VLC_MMX prefixed functions with Suncc:
__MMX__ is not defined and it's not a GCC compiler.

# if defined (__MMX__)
#  define VLC_MMX
# elif VLC_GCC_VERSION(4, 4)
#  define VLC_MMX __attribute__ ((__target__ ("mmx")))
# else
#  define VLC_MMX VLC_MMX_is_not_implemented_on_this_compiler
# endif



More information about the vlc-devel mailing list