VirtualBox

Ignore:
Timestamp:
Nov 19, 2008 11:14:27 AM (16 years ago)
Author:
vboxsync
Message:

Additions/linux: fixed a warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h

    r11507 r14345  
    113113#endif
    114114
    115 #define CMC_API __attribute__ ((cdecl, regparm (0)))
     115#ifdef __cplusplus
     116# define CMC_API __attribute__ ((cdecl, regparm (0)))
     117#else
     118# define CMC_API __attribute__ ((regparm (0)))
     119#endif
    116120
    117121#define TRACE() LogFunc (("tracepoint\n"))
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