Skip to content

Commit 8103256

Browse files
committed
8348348: Remove unnecessary #ifdef STATIC_BUILD around DEF_STATIC_JNI_OnLoad from zip_util.c
Reviewed-by: sgehwolf
1 parent fb066ca commit 8103256

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/java.base/share/native/libzip/zip_util.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ static void freeCEN(jzfile *);
7272
static jint INITIAL_META_COUNT = 2; /* initial number of entries in meta name array */
7373

7474
/*
75-
* Declare library specific JNI_Onload entry if static build
75+
* Declare library specific JNI_Onload entry
7676
*/
77-
#ifdef STATIC_BUILD
7877
DEF_STATIC_JNI_OnLoad
79-
#endif
8078

8179
/*
8280
* The ZFILE_* functions exist to provide some platform-independence with

0 commit comments

Comments
 (0)