Changeset 2443 in vbox
- Timestamp:
- Apr 30, 2007 6:42:26 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20852
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r2435 r2443 845 845 # of relocation entries and PLT indirections in shared libraries. 846 846 ifeq ($(origin VBOX_GCC_fvisibility-hidden),undefined) 847 export VBOX_GCC_fvisibility-hidden := $(call VBOX_GCC_CHECK_CC,-fvisibility=hidden ,)847 export VBOX_GCC_fvisibility-hidden := $(call VBOX_GCC_CHECK_CC,-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN,) 848 848 endif 849 849 # Set default attribute for inline functions to ``hidden'' to reduce the number -
trunk/include/iprt/cdefs.h
r2439 r2443 401 401 # define DECLEXPORT(type) __declspec(dllexport) type 402 402 #else 403 # if __GNUC__ >= 4403 # ifdef VBOX_HAVE_VISIBILITY_HIDDEN 404 404 # define DECLEXPORT(type) __attribute__((visibility("default"))) type 405 405 # else -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/prtypes.h
r2437 r2443 179 179 #else /* Unix */ 180 180 181 # if __GNUC__ >= 4181 # ifdef VBOX_HAVE_VISIBILITY_HIDDEN 182 182 # define PR_EXPORT(__type) __attribute__((visibility("default"))) extern __type 183 183 # define PR_EXPORT_DATA(__type) __attribute__((visibility("default"))) extern __type -
trunk/src/libs/xpcom18a4/xpcom/base/nscore.h
r2437 r2443 102 102 #ifdef HAVE_VISIBILITY_ATTRIBUTE 103 103 #define NS_VISIBILITY_HIDDEN __attribute__ ((visibility ("hidden"))) 104 # if __GNUC__ >= 4104 # ifdef VBOX_HAVE_VISIBILITY_HIDDEN 105 105 # define NS_VISIBILITY_DEFAULT __attribute__ ((visibility ("default"))) 106 106 # else … … 183 183 #else 184 184 185 # if __GNUC__ >= 4185 # ifdef VBOX_HAVE_VISIBILITY_HIDDEN 186 186 # define NS_IMPORT 187 187 # define NS_IMPORT_(type) type -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h
r2437 r2443 61 61 # define XPTC_EXPORT __declspec(dllexport) 62 62 #else 63 # if __GNUC__ >= 463 # ifdef VBOX_HAVE_VISIBILITY_HIDDEN 64 64 # define XPTC_EXPORT __attribute__((visibility("default"))) 65 65 # else -
trunk/src/recompiler/Makefile.kmk
r2438 r2443 285 285 $(PATH_TARGET)/VBoxREMImp.c: VBoxREM.def InnoTek/deftoimp.sed | $(call DIRDEP,$(PATH_TARGET)) 286 286 $(MKDIR) -p $(PATH_TARGET) 287 $(APPEND) [email protected] '#if __GNUC__ >= 4'287 $(APPEND) [email protected] '#ifdef VBOX_HAVE_VISIBILITY_HIDDEN' 288 288 $(APPEND) [email protected] '# define EXPORT __attribute__((visibility("default")))' 289 289 $(APPEND) [email protected] '#else'
Note:
See TracChangeset
for help on using the changeset viewer.