comparison src/share/vm/prims/jvm.h @ 2191:d70fe6ab4436

6588413: Use -fvisibility=hidden for gcc compiles Summary: 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
author coleenp
date Tue, 01 Feb 2011 11:23:19 -0500
parents 8f8dfba37802
children ed69575596ac
comparison
equal deleted inserted replaced
2177:3582bf76420e 2191:d70fe6ab4436
1415 1415
1416 /* 1416 /*
1417 * BE CAREFUL! The following functions do not implement the 1417 * BE CAREFUL! The following functions do not implement the
1418 * full feature set of standard C printf formats. 1418 * full feature set of standard C printf formats.
1419 */ 1419 */
1420 int 1420 JNIEXPORT int
1421 jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args); 1421 jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args);
1422 1422
1423 int 1423 JNIEXPORT int
1424 jio_snprintf(char *str, size_t count, const char *fmt, ...); 1424 jio_snprintf(char *str, size_t count, const char *fmt, ...);
1425 1425
1426 int 1426 JNIEXPORT int
1427 jio_fprintf(FILE *, const char *fmt, ...); 1427 jio_fprintf(FILE *, const char *fmt, ...);
1428 1428
1429 int 1429 JNIEXPORT int
1430 jio_vfprintf(FILE *, const char *fmt, va_list args); 1430 jio_vfprintf(FILE *, const char *fmt, va_list args);
1431 1431
1432 1432
1433 JNIEXPORT void * JNICALL 1433 JNIEXPORT void * JNICALL
1434 JVM_RawMonitorCreate(void); 1434 JVM_RawMonitorCreate(void);