mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6588413: Use -fvisibility=hidden for gcc compiles
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions. Reviewed-by: kamg, never
This commit is contained in:
parent
7b4f8073f0
commit
cba53708ec
17 changed files with 50 additions and 82 deletions
|
@ -2585,7 +2585,7 @@ int jio_vfprintf(FILE* f, const char *fmt, va_list args) {
|
|||
}
|
||||
|
||||
|
||||
int jio_printf(const char *fmt, ...) {
|
||||
JNIEXPORT int jio_printf(const char *fmt, ...) {
|
||||
int len;
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue