VirtualBox

Changeset 60192 in vbox


Ignore:
Timestamp:
Mar 25, 2016 9:33:07 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106226
Message:

iprt/cdefs.h: Added 'static' to DECLINLINE for C++ and MSC to prevent problems when including different versions of the code into the link (bs3kit, multiple VBox PDM APIs).

File:
1 edited

Legend:

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

    r60077 r60192  
    12481248# define DECLINLINE(type) static __inline__ type
    12491249#elif defined(__cplusplus)
    1250 # define DECLINLINE(type) inline type
     1250# define DECLINLINE(type) static inline type
    12511251#elif defined(_MSC_VER)
    1252 # define DECLINLINE(type) _inline type
     1252# define DECLINLINE(type) static _inline type
    12531253#elif defined(__IBMC__)
    12541254# define DECLINLINE(type) _Inline 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