Changeset 93467 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 27, 2022 8:49:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDrmClient.cpp
r93466 r93467 44 44 # define VBOX_DRMCLIENT_GUEST_PROP_RESIZE "/VirtualBox/GuestAdd/DRMResize" 45 45 46 #endif /* RT_OS_LINUX */47 48 46 /** 49 47 * Check if specified guest property exist. … … 57 55 { 58 56 bool fExist = false; 59 # if defined(RT_OS_LINUX) &&defined(VBOX_WITH_GUEST_PROPS)57 # if defined(VBOX_WITH_GUEST_PROPS) 60 58 uint32_t idClient; 61 59 … … 84 82 VbglR3GuestPropDisconnect(idClient); 85 83 } 86 # endif /* RT_OS_LINUX*/84 # endif /* VBOX_WITH_GUEST_PROPS */ 87 85 return fExist; 88 86 } 87 #endif /* RT_OS_LINUX */ 89 88 90 89 /** … … 96 95 VBGLR3DECL(bool) VbglR3DrmClientIsNeeded(void) 97 96 { 97 #if defined(RT_OS_LINUX) 98 98 return vbglR3DrmClientCheckProp(VBOX_DRMCLIENT_GUEST_PROP_RESIZE, 0); 99 #else 100 return false; 101 #endif 99 102 } 100 103 … … 114 117 VBGLR3DECL(bool) VbglR3DrmRestrictedIpcAccessIsNeeded(void) 115 118 { 119 #if defined(RT_OS_LINUX) 116 120 return vbglR3DrmClientCheckProp(VBGLR3DRMIPCPROPRESTRICT, GUEST_PROP_F_RDONLYGUEST); 121 #else 122 return false; 123 #endif 117 124 } 118 125
Note:
See TracChangeset
for help on using the changeset viewer.