Changeset 4807
- Timestamp:
- 09/14/07 18:10:39 (1 year ago)
- Files:
-
- trunk/include/iprt/cdefs.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/cdefs.h
r4787 r4807 83 83 # define RT_OS_LINUX 84 84 # warning "__LINUX__ without RT_OS_LINUX!" 85 # endif 86 #endif 85 # endif 86 #endif 87 87 88 88 /** @def RT_ARCH_X86 … … 260 260 261 261 /** @def R3R0PTRTYPE 262 * Declare a pointer which is used in HC, is explicitely valid in ring 3 and 0, 263 * but appears in structure(s) used by both HC and GC. The main purpose is to 262 * Declare a pointer which is used in HC, is explicitely valid in ring 3 and 0, 263 * but appears in structure(s) used by both HC and GC. The main purpose is to 264 264 * make sure structures have the same size when built for different architectures. 265 265 * … … 503 503 * @param name The name of the variable member. 504 504 */ 505 #ifdef IN_RING3 506 # define DECLCALLBACKPTR(type, name) type (RTCALL * name) 507 #else 508 # define DECLCALLBACKPTR(type, name) RTR3PTR name 509 #endif 505 #define DECLCALLBACKPTR(type, name) type (RTCALL * name) 510 506 511 507 /** @def DECLCALLBACKMEMBER … … 514 510 * @param name The name of the struct/union/class member. 515 511 */ 516 #ifdef IN_RING3 517 # define DECLCALLBACKMEMBER(type, name) type (RTCALL * name) 518 #else 519 # define DECLCALLBACKMEMBER(type, name) RTR3PTR name 520 #endif 512 #define DECLCALLBACKMEMBER(type, name) type (RTCALL * name) 521 513 522 514 /** @def DECLR3CALLBACKMEMBER … … 855 847 856 848 #ifdef RT_OS_OS2 857 /* Undefine RT_MAX since there is an unfortunate clash with the max 849 /* Undefine RT_MAX since there is an unfortunate clash with the max 858 850 resource type define in os2.h. */ 859 851 # undef RT_MAX 860 #endif 852 #endif 861 853 862 854 /** @def RT_MAX

