[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:
Hervé Poussineau 2020-03-26 14:40:39 +01:00
parent 7cda1ed2f5
commit 5ed1867632
22 changed files with 22 additions and 8 deletions

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DDIRECT3D_VERSION=0x0900)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -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)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -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)

View file

@ -2,6 +2,7 @@
add_definitions(
-D__WINESRC__
-D_WINE
-D__ROS_LONG64__
-D_COMCTL32_)
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)

View file

@ -4,6 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-D_WINE
-D_CRYPT32_)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-D_USE_MATH_DEFINES)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -1,5 +1,5 @@
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(inetmib1.dll inetmib1.spec)

View file

@ -1,5 +1,5 @@
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(itss.dll itss.spec)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-D_USE_MATH_DEFINES)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -4,6 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DCOM_NO_WINDOWS_H)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)

View file

@ -3,7 +3,7 @@ remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
add_definitions(-D__WINESRC__ -DMSIRUNMODE=MSIRUNMODE_T)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__ -DMSIRUNMODE=MSIRUNMODE_T)
spec2def(msi.dll msi.spec ADD_IMPORTLIB)
generate_idl_iids(msiserver.idl)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-D_WINE
-DLIBXML_STATIC
-DCOM_NO_WINDOWS_H)

View file

@ -5,6 +5,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(
-D__WINESRC__
-D_OLE32_
-D__ROS_LONG64__
-DCOM_NO_WINDOWS_H
-DENTRY_PREFIX=OLE32_
-DPROXY_CLSID=CLSID_PSFactoryBuffer

View file

@ -4,6 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DCOM_NO_WINDOWS_H
-D_OLEAUT32_
-DPROXY_DELEGATION

View file

@ -1,5 +1,5 @@
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)

View file

@ -1,6 +1,6 @@
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
spec2def(scrrun.dll scrrun.spec)
add_idl_headers(scrrun_idlheader scrrun.idl)
add_typelib(scrrun.idl)

View file

@ -1,6 +1,6 @@
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB)
list(APPEND SOURCE

View file

@ -1,5 +1,5 @@
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(vbscript.dll vbscript.spec)

View file

@ -2,7 +2,7 @@
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D__WINESRC__)
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(wbemprox.dll wbemprox.spec)

View file

@ -1,6 +1,7 @@
add_definitions(
-D__WINESRC__
-D__ROS_LONG64__
-DENTRY_PREFIX=WIC_
-DPROXY_DELEGATION
-DWINE_REGISTER_DLL)