Changeset 54324 in vbox
- Timestamp:
- Feb 20, 2015 10:38:11 AM (10 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r54323 r54324 132 132 DLLS += vboxvideo_drv_70 133 133 vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD 134 vboxvideo_drv_70_DEFS = $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70000000 0134 vboxvideo_drv_70_DEFS = $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70000000 135 135 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 136 136 vboxvideo_drv_70_CFLAGS += -D_XPG6 -Wno-shadow # Use XPG6 until we have moved the C++ bits into a library. … … 149 149 vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD 150 150 vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 151 vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70 0100000151 vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70100000 152 152 vboxvideo_drv_71_INCS = \ 153 153 $(vboxvideo_xorg_INCS) \ … … 163 163 vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD 164 164 vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 165 vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10 0300000165 vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10300000 166 166 vboxvideo_drv_13_INCS = \ 167 167 $(vboxvideo_xorg_INCS) \ … … 177 177 vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD 178 178 vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 179 vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10 0400000179 vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10400000 180 180 vboxvideo_drv_14_INCS = \ 181 181 $(vboxvideo_xorg_INCS) \ … … 191 191 vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD 192 192 vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 193 vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10 0503000193 vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10503000 194 194 if1of ($(KBUILD_TARGET), linux solaris) 195 195 vboxvideo_drv_15_DEFS += \ … … 213 213 vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD 214 214 vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 215 vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10 0600000215 vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10600000 216 216 if1of ($(KBUILD_TARGET), linux solaris) 217 217 vboxvideo_drv_16_DEFS += \ … … 231 231 vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD 232 232 vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 233 vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10 0699000233 vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10699000 234 234 vboxvideo_drv_17_INCS = \ 235 235 $(vboxvideo_xorg_INCS) \ … … 249 249 vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD 250 250 vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 251 vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10 0800000251 vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10800000 252 252 vboxvideo_drv_18_INCS = \ 253 253 $(vboxvideo_xorg_INCS) \ … … 263 263 vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD 264 264 vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 265 vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10 0900000265 vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10900000 266 266 vboxvideo_drv_19_INCS = \ 267 267 $(vboxvideo_xorg_INCS) \ … … 277 277 vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD 278 278 vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 279 vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01000000279 vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11000000 280 280 vboxvideo_drv_110_INCS = \ 281 281 $(vboxvideo_xorg_INCS) \ … … 291 291 vboxvideo_drv_111_TEMPLATE = VBOXGUESTR3XORGMOD 292 292 vboxvideo_drv_111_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 293 vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01100000293 vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11100000 294 294 vboxvideo_drv_111_INCS = \ 295 295 $(vboxvideo_xorg_INCS) \ … … 305 305 vboxvideo_drv_112_TEMPLATE = VBOXGUESTR3XORGMOD 306 306 vboxvideo_drv_112_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 307 vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01200000307 vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11200000 308 308 vboxvideo_drv_112_INCS = \ 309 309 $(vboxvideo_xorg_INCS) \ … … 319 319 vboxvideo_drv_113_TEMPLATE = VBOXGUESTR3XORGMOD 320 320 vboxvideo_drv_113_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 321 vboxvideo_drv_113_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01300000321 vboxvideo_drv_113_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11300000 322 322 vboxvideo_drv_113_INCS = \ 323 323 $(vboxvideo_xorg_INCS) \ … … 333 333 vboxvideo_drv_114_TEMPLATE = VBOXGUESTR3XORGMOD 334 334 vboxvideo_drv_114_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 335 vboxvideo_drv_114_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01400000335 vboxvideo_drv_114_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11400000 336 336 vboxvideo_drv_114_INCS = \ 337 337 $(vboxvideo_xorg_INCS) \ … … 347 347 vboxvideo_drv_115_TEMPLATE = VBOXGUESTR3XORGMOD 348 348 vboxvideo_drv_115_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 349 vboxvideo_drv_115_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01500000349 vboxvideo_drv_115_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11500000 350 350 vboxvideo_drv_115_INCS = \ 351 351 $(vboxvideo_xorg_INCS) \ … … 361 361 vboxvideo_drv_116_TEMPLATE = VBOXGUESTR3XORGMOD 362 362 vboxvideo_drv_116_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 363 vboxvideo_drv_116_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01600000363 vboxvideo_drv_116_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11600000 364 364 vboxvideo_drv_116_INCS = \ 365 365 $(vboxvideo_xorg_INCS) \ … … 375 375 vboxvideo_drv_117_TEMPLATE = VBOXGUESTR3XORGMOD 376 376 vboxvideo_drv_117_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 377 vboxvideo_drv_117_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=1 01700000377 vboxvideo_drv_117_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11700000 378 378 vboxvideo_drv_117_INCS = \ 379 379 $(vboxvideo_xorg_INCS) \ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r54040 r54324 134 134 /** Helper to work round different ways of getting the root window in different 135 135 * server versions. */ 136 #if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 0\137 && XORG_VERSION_CURRENT >= 10 0900000136 #if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 \ 137 && XORG_VERSION_CURRENT >= 10900000 138 138 # define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root 139 139 #else
Note:
See TracChangeset
for help on using the changeset viewer.