- Timestamp:
- Mar 16, 2012 10:18:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/stdarg.h
r28800 r40508 4 4 5 5 /* 6 * Copyright (C) 2006-20 07Oracle Corporation6 * Copyright (C) 2006-2012 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 27 27 #define ___iprt_stdarg_h 28 28 29 #if !defined(IPRT_NO_CRT) \ 30 && !(defined(RT_OS_FREEBSD) && defined(_KERNEL)) 31 32 # include <stdarg.h> 33 #elif defined(RT_OS_FREEBSD) && defined(_KERNEL) 34 # include <machine/stdarg.h> 35 #else 29 #ifdef IPRT_NO_CRT 36 30 # include <iprt/types.h> 37 31 # include <iprt/nocrt/compiler/compiler.h> 32 #undef va_start 33 #define va_start 4 34 #else 35 # include <iprt/cdefs.h> 36 #undef va_start 37 #define va_start 1 38 # if defined(RT_OS_FREEBSD) && defined(_KERNEL) 39 # include <machine/stdarg.h> 40 # elif defined(RT_OS_SOLARIS) && defined(_KERNEL) && defined(__GNUC__) 41 # include <stdarg.h> 42 # if __GNUC__ >= 4 /* System headers refers to __builtin_stdarg_start. */ 43 # define __builtin_stdarg_start __builtin_va_start 44 # endif 45 # else 46 # include <stdarg.h> 47 # endif 38 48 #endif 39 49
Note:
See TracChangeset
for help on using the changeset viewer.