Changeset 92621 in vbox for trunk/src/VBox/Runtime/r0drv/darwin
- Timestamp:
- Nov 29, 2021 10:05:23 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148513
- Location:
- trunk/src/VBox/Runtime/r0drv/darwin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h
r85124 r92621 90 90 #include <IOKit/IOTypes.h> 91 91 #include <IOKit/IOLib.h> /* Note! Has Assert down as a function. */ 92 #define _OS_OSUNSERIALIZE_H /* HACK ALERT! Block importing OSUnserialized.h as it causes compilation trouble with 93 newer clang versions and the 10.15 SDK, and we really don't need it. Sample error: 94 libkern/c++/OSUnserialize.h:72:2: error: use of OSPtr outside of a return type [-Werror,-Wossharedptr-misuse] */ 92 95 #include <IOKit/IOMemoryDescriptor.h> 93 96 #include <IOKit/IOBufferMemoryDescriptor.h> -
trunk/src/VBox/Runtime/r0drv/darwin/time-r0drv-darwin.cpp
r82968 r92621 94 94 #endif 95 95 clock_get_calendar_nanotime(&uSecs, &uNanosecs); 96 return RTTimeSpecSetNano(pTime, ( uint64_t)uSecs * RT_NS_1SEC + uNanosecs);96 return RTTimeSpecSetNano(pTime, (int64_t)uSecs * RT_NS_1SEC + uNanosecs); 97 97 } 98 98
Note:
See TracChangeset
for help on using the changeset viewer.