mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
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:
parent
07a0475c66
commit
a45ce20a2b
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue