Changeset 84661 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jun 3, 2020 12:45:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r84637 r84661 187 187 static int determineOutputCount(); 188 188 189 #define checkFunctionPtrReturn(pFunction) \ 190 do{ \ 191 if (!pFunction) \ 192 { \ 193 VBClLogFatalError("Could not find symbol address\n"); \ 194 dlclose(x11Context.pRandLibraryHandle); \ 195 x11Context.pRandLibraryHandle = NULL; \ 196 return VERR_NOT_FOUND; \ 197 } \ 198 }while(0) 199 200 #define checkFunctionPtr(pFunction) \ 201 do{ \ 202 if (!pFunction) \ 203 { \ 204 VBClLogFatalError("Could not find symbol address\n"); \ 205 } \ 206 }while(0) 189 #define checkFunctionPtrReturn(pFunction) \ 190 do { \ 191 if (!pFunction) \ 192 { \ 193 VBClLogFatalError("Could not find symbol address (%s)\n", #pFunction); \ 194 dlclose(x11Context.pRandLibraryHandle); \ 195 x11Context.pRandLibraryHandle = NULL; \ 196 return VERR_NOT_FOUND; \ 197 } \ 198 } while (0) 199 200 #define checkFunctionPtr(pFunction) \ 201 do { \ 202 if (!pFunction) \ 203 VBClLogFatalError("Could not find symbol address (%s)\n", #pFunction);\ 204 } while (0) 207 205 208 206
Note:
See TracChangeset
for help on using the changeset viewer.