MSVC wants __declspec(align), not __declspec(aligned)

This commit is contained in:
Chris Robinson 2012-08-16 10:23:25 -07:00
parent 147fd9de4e
commit 15c6b9b165

View File

@ -174,7 +174,7 @@ ENDIF()
# Set visibility/export options if available # Set visibility/export options if available
IF(WIN32) IF(WIN32)
SET(EXPORT_DECL "__declspec(dllexport)") SET(EXPORT_DECL "__declspec(dllexport)")
SET(ALIGN_DECL "__declspec(aligned((x)))") SET(ALIGN_DECL "__declspec(align((x)))")
OPTION(WINE "Enable use of Wine headers when compiling" OFF) OPTION(WINE "Enable use of Wine headers when compiling" OFF)
IF(WINE) IF(WINE)