Changeset 69082 in vbox for trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
- Timestamp:
- Oct 13, 2017 3:50:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r69080 r69082 1061 1061 * Although this is far more often than necessary it should not have real-life 1062 1062 * performance consequences and allows us to simplify the code quite a bit. */ 1063 static void vboxBlockHandler(pointer pData, OSTimePtr pTimeout, pointer pReadmask) 1063 static void vboxBlockHandler(pointer pData, 1064 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 23 1065 OSTimePtr pTimeout, 1066 pointer pReadmask 1067 #else 1068 void *pTimeout 1069 #endif 1070 ) 1064 1071 { 1065 1072 ScrnInfoPtr pScrn = (ScrnInfoPtr)pData; 1066 1073 Bool fNeedUpdate = false; 1067 1074 1068 (void)pTimeout; 1069 (void)pReadmask; 1075 RT_NOREF(pTimeout); 1076 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 23 1077 RT_NOREF(pReadmask); 1078 #endif 1070 1079 if (pScrn->vtSema) 1071 1080 vbvxReadSizesAndCursorIntegrationFromHGSMI(pScrn, &fNeedUpdate); … … 1224 1233 updateGraphicsCapability(pScrn, TRUE); 1225 1234 1235 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 23 1236 # define WakeupHandlerProcPtr ServerWakeupHandlerProcPtr 1237 #endif 1238 1226 1239 /* Register block and wake-up handlers for getting new screen size hints. */ 1227 1240 RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
Note:
See TracChangeset
for help on using the changeset viewer.