- Timestamp:
- Jul 11, 2020 11:26:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostVideoInputDeviceImpl.cpp
r85121 r85252 131 131 typedef FNVBOXHOSTWEBCAMLIST *PFNVBOXHOSTWEBCAMLIST; 132 132 133 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/ 134 static int loadHostWebcamLibrary(const char *pszPath, RTLDRMOD *phmod, void **ppfn) 135 #else 133 136 static int loadHostWebcamLibrary(const char *pszPath, RTLDRMOD *phmod, PFNVBOXHOSTWEBCAMLIST *ppfn) 137 #endif 134 138 { 135 139 int rc; … … 185 189 PFNVBOXHOSTWEBCAMLIST pfn = NULL; 186 190 RTLDRMOD hmod = NIL_RTLDRMOD; 191 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/ 192 int vrc = loadHostWebcamLibrary(strLibrary.c_str(), &hmod, (void **)&pfn); 193 #else 187 194 int vrc = loadHostWebcamLibrary(strLibrary.c_str(), &hmod, &pfn); 195 #endif 188 196 189 197 LogRel(("Load [%s] vrc=%Rrc\n", strLibrary.c_str(), vrc)); … … 193 201 uint64_t u64Result = S_OK; 194 202 vrc = pfn(hostWebcamAdd, pList, &u64Result); 195 Log(("VBoxHostWebcamList vrc %Rrc, result 0x%08 X\n", vrc, u64Result));203 Log(("VBoxHostWebcamList vrc %Rrc, result 0x%08RX64\n", vrc, u64Result)); 196 204 if (RT_FAILURE(vrc)) 197 205 {
Note:
See TracChangeset
for help on using the changeset viewer.