mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:11:57 +00:00
[CMAKE] Add some -D__ROS_LONG64__ to please gcc x64
We can now pass a UINT* to a function wanting a DWORD*
This commit is contained in:
parent
7cda1ed2f5
commit
5ed1867632
22 changed files with 22 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-D__ROS_LONG64__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-D__ROS_LONG64__
|
||||
-DDIRECT3D_VERSION=0x0900)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
|
|
|
@ -32,6 +32,7 @@ function(add_d3dx9_target __version)
|
|||
${CMAKE_CURRENT_BINARY_DIR}/${module}_stubs.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${module}.def)
|
||||
|
||||
add_definitions(-D__ROS_LONG64__)
|
||||
set_module_type(${module} win32dll)
|
||||
add_dependencies(${module} d3d_idl_headers)
|
||||
target_link_libraries(${module} dxguid wine)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-D__ROS_LONG64__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
|
|
|
@ -3,6 +3,7 @@ add_definitions(
|
|||
-D__WINESRC__
|
||||
-D_USE_MATH_DEFINES
|
||||
-DUSE_WIN32_OPENGL
|
||||
-D__ROS_LONG64__
|
||||
-Dcopysignf=_copysignf)
|
||||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue