Changeset 2437 in vbox for trunk/src/libs/xpcom18a4/xpcom
- Timestamp:
- Apr 30, 2007 3:25:20 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20846
- Location:
- trunk/src/libs/xpcom18a4/xpcom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/base/nscore.h
r2435 r2437 102 102 #ifdef HAVE_VISIBILITY_ATTRIBUTE 103 103 #define NS_VISIBILITY_HIDDEN __attribute__ ((visibility ("hidden"))) 104 #define NS_VISIBILITY_DEFAULT __attribute__ ((visibility ("default"))) 104 # if __GNUC__ >= 4 105 # define NS_VISIBILITY_DEFAULT __attribute__ ((visibility ("default"))) 106 # else 107 # define NS_VISIBILITY_DEFAULT 108 # endif 105 109 106 110 #define NS_HIDDEN_(type) NS_VISIBILITY_HIDDEN type … … 179 183 #else 180 184 181 #define NS_IMPORT 182 #define NS_IMPORT_(type) type 183 #define NS_EXPORT __attribute__((visibility("default"))) 184 #define NS_EXPORT_(type) __attribute__((visibility("default"))) type 185 #define NS_IMETHOD_(type) virtual IMETHOD_VISIBILITY type NS_DEFCALL 186 #define NS_IMETHODIMP_(type) type 187 #define NS_METHOD_(type) type 188 #define NS_CALLBACK_(_type, _name) _type (* _name) 189 #define NS_STDCALL 185 # if __GNUC__ >= 4 186 # define NS_IMPORT 187 # define NS_IMPORT_(type) type 188 # define NS_EXPORT __attribute__((visibility("default"))) 189 # define NS_EXPORT_(type) __attribute__((visibility("default"))) type 190 # define NS_IMETHOD_(type) virtual IMETHOD_VISIBILITY type NS_DEFCALL 191 # define NS_IMETHODIMP_(type) type 192 # define NS_METHOD_(type) type 193 # define NS_CALLBACK_(_type, _name) _type (* _name) 194 # define NS_STDCALL 195 # else 196 # define NS_IMPORT 197 # define NS_IMPORT_(type) type 198 # define NS_EXPORT 199 # define NS_EXPORT_(type) type 200 # define NS_IMETHOD_(type) virtual IMETHOD_VISIBILITY type NS_DEFCALL 201 # define NS_IMETHODIMP_(type) type 202 # define NS_METHOD_(type) type 203 # define NS_CALLBACK_(_type, _name) _type (* _name) 204 # define NS_STDCALL 205 # endif 190 206 #endif 191 207 -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h
r2435 r2437 61 61 # define XPTC_EXPORT __declspec(dllexport) 62 62 #else 63 # if __GNUC__ >= 4 63 64 # define XPTC_EXPORT __attribute__((visibility("default"))) 65 # else 66 # define XPTC_EXPORT 67 # endif 64 68 #endif 65 69 #else
Note:
See TracChangeset
for help on using the changeset viewer.