Changeset 95911 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jul 28, 2022 1:05:29 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/VBoxVideoIPRT.h
r93115 r95911 64 64 #include <stdint.h> 65 65 #if defined(IN_XF86_MODULE) && !defined(NO_ANSIC) 66 /* XFree86 did not have these. Not that I care much for micro-optimisations67 * in most cases anyway. */68 # define _X_LIKELY(x) (x)69 # define _X_UNLIKELY(x) (x)70 66 # ifndef offsetof 71 67 # define offsetof(type, member) ( (int)(uintptr_t)&( ((type *)(void *)0)->member) ) … … 76 72 # include <string.h> 77 73 #endif /* !(defined(IN_XF86_MODULE) && !defined(NO_ANSIC)) */ 74 75 /* XFree86 (and newer Xfuncproto.h) do not have these. Not that I care much for micro-optimisations 76 * in most cases anyway. */ 77 #ifndef _X_LIKELY 78 # define _X_LIKELY(x) (x) 79 #endif 80 #ifndef _X_UNLIKELY 81 # define _X_UNLIKELY(x) (x) 82 #endif 78 83 79 84 RT_C_DECLS_BEGIN
Note:
See TracChangeset
for help on using the changeset viewer.