VirtualBox

Changeset 5485 in vbox for trunk


Ignore:
Timestamp:
Oct 24, 2007 4:54:08 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25667
Message:

Use inline with GCC instead of inline, since the latter can be disabled for C code (-ansi and others).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r5328 r5485  
    538538 * How to declare a function as inline.
    539539 * @param   type    The return type of the function declaration.
     540 * @remarks Don't use this macro on C++ methods.
    540541 */
    541542#ifdef __GNUC__
    542 # define DECLINLINE(type) static inline type
     543# define DECLINLINE(type) static __inline__ type
    543544#elif defined(__cplusplus)
    544545# define DECLINLINE(type) inline type
Note: See TracChangeset for help on using the changeset viewer.

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