ICU-5799 Add options to hide some library functions for future reference.

These options are commented out until U_CAPI can import and export as needed.

X-SVN-Rev: 22358
This commit is contained in:
George Rhoten 2007-08-12 05:41:18 +00:00
parent 07a0475c66
commit a45ce20a2b
2 changed files with 6 additions and 0 deletions

View file

@ -276,6 +276,8 @@ typedef unsigned int uint32_t;
#if @U_USE_GCC_VISIBILITY_ATTRIBUTE@
#define U_EXPORT __attribute__((visibility("default")))
/*#elif defined(__HP_aCC) || defined(__HP_cc)
#define U_EXPORT __declspec(dllexport)*/
#else
#define U_EXPORT
#endif

View file

@ -27,6 +27,10 @@ THREADSCPPFLAGS = -D_REENTRANT -D_THREAD_SAFE
CFLAGS += -Ae +ESlit
CXXFLAGS += +W740 +W749 +W823 +W4232
# -Bhidden_def Hides all symbols defined in the module.
#LIBCFLAGS = -Bhidden_def
#LIBCXXFLAGS = -Bhidden_def
## Commands to compile
COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c