Changeset 97894 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 29, 2022 3:07:50 PM (2 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp
r96475 r97894 67 67 #include <unistd.h> 68 68 #include <sys/stat.h> 69 #ifndef AF_LOCAL 70 # define AF_LOCAL AF_UNIX 71 #endif 69 72 70 73 #include "internal/magics.h" … … 1028 1031 PollFd.events = POLLHUP | POLLERR | POLLIN; 1029 1032 Log(("RTLocalIpcSessionWaitForData: Calling poll...\n")); 1030 int cFds = poll(&PollFd, 1, cMillies == RT_INDEFINITE_WAIT ? -1 : cMillies);1033 int cFds = poll(&PollFd, 1, cMillies == RT_INDEFINITE_WAIT ? -1 : (int)cMillies); 1031 1034 if (cFds >= 1) 1032 1035 { -
trunk/src/VBox/Runtime/r3/socket.cpp
r96475 r97894 58 58 # include <fcntl.h> 59 59 # include <sys/uio.h> 60 # ifndef AF_LOCAL 61 # define AF_LOCAL AF_UNIX 62 # endif 60 63 #endif /* !RT_OS_WINDOWS */ 61 64 #include <limits.h>
Note:
See TracChangeset
for help on using the changeset viewer.