[WINE] Add explicit missing __ROS_LONG64__ for Wine modules (#7576)

i.e. fix build.

When these get synced with more recent Wine version, you can remove
this define once you get past a "Enable compilation with long types"
Wine commit or similar.
This commit is contained in:
Hermès Bélusca-Maïto
2025-01-16 18:13:27 +01:00
parent 381e224f6b
commit 53d808d2eb
7 changed files with 10 additions and 7 deletions
+1 -1
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(d3drm.dll d3drm.spec ADD_IMPORTLIB)
+1 -1
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(d3dxof.dll d3dxof.spec ADD_IMPORTLIB)
+2 -1
View File
@@ -1,7 +1,8 @@
add_definitions(
-D__WINESRC__
-D_WINE)
-D_WINE
-D__ROS_LONG64__)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB)
+2 -1
View File
@@ -1,7 +1,8 @@
add_definitions(
-D__WINESRC__
-D_WINE)
-D_WINE
-D__ROS_LONG64__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB)
+1 -1
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(ieframe.dll ieframe.spec ADD_IMPORTLIB)
list(APPEND SOURCE
+1 -1
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(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
+2 -1
View File
@@ -8,7 +8,8 @@ add_definitions(
add_definitions(
-D__WINESRC__
-D_WINE)
-D_WINE
-D__ROS_LONG64__)
spec2def(wininet.dll wininet.spec ADD_IMPORTLIB)