VirtualBox

Changeset 309 in vbox for trunk/include


Ignore:
Timestamp:
Jan 25, 2007 3:57:38 PM (18 years ago)
Author:
vboxsync
Message:

DECLINLINE is supposed to be static of course.

File:
1 edited

Legend:

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

    r1 r309  
    430430 * @param   type    The return type of the function declaration.
    431431 */
    432 #ifdef __cplusplus
     432#ifdef __GNUC__
     433# define DECLINLINE(type) static inline type
     434#elif defined(__cplusplus)
    433435# define DECLINLINE(type) inline type
    434 #else
    435 # ifdef __GNUC__
    436 #  define DECLINLINE(type) static inline type
    437 # elif defined(_MSC_VER)
    438 #  define DECLINLINE(type) _inline type
    439 # else
    440 #  define DECLINLINE(type) inline type
    441 # endif
     436#elif defined(_MSC_VER)
     437# define DECLINLINE(type) _inline type
     438#else
     439# define DECLINLINE(type) inline type
    442440#endif
    443441
     
    459457/** @def IN_RT_R3
    460458 * Used to indicate whether we're inside the same link module as
    461  * the HC Ring-3 Runtime Library.
     459 * the HC Ring-3 Runtime Library. 
    462460 */
    463461/** @def RTR3DECL(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