VirtualBox

Changeset 27067 in vbox


Ignore:
Timestamp:
Mar 5, 2010 10:34:37 AM (15 years ago)
Author:
vboxsync
Message:

iprt/nocrt/compiler/gcc.h: va_start fix for gcc 3.2.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/compiler/gcc.h

    r26341 r27067  
    112112/* stdarg.h */
    113113typedef __builtin_va_list   va_list;
    114 #define va_start(va, arg)   __builtin_va_start(va, arg)
     114#if __GNUC__       == 3 \
     115 && __GNUC_MINOR__ == 2
     116# define va_start(va, arg)  __builtin_stdarg_start(va, arg)
     117#else
     118# define va_start(va, arg)  __builtin_va_start(va, arg)
     119#endif
    115120#define va_end(va)          __builtin_va_end(va)
    116121#define va_arg(va, type)    __builtin_va_arg(va, type)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette