mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[winpr,spec] fix windows compatibility
define NONAMELESSUNION to have the same struct definitions under windows as we have under linux.
This commit is contained in:
@@ -140,6 +140,9 @@ endif()
|
||||
|
||||
message(STATUS "Git Revision ${GIT_REVISION}")
|
||||
|
||||
# MSVC compatibility with system headers
|
||||
add_definitions(-DNONAMELESSUNION)
|
||||
|
||||
# Make the detected version available as default version for all subprojects
|
||||
set(FREERDP_DEFAULT_PROJECT_VERSION ${FREERDP_VERSION} CACHE STRING INTERNAL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user