8312626: Resolve multiple definition of 'start_timer' when statically linking JDK native libraries with user code

Reviewed-by: serb
This commit is contained in:
Jiangli Zhou 2023-07-27 19:12:46 +00:00
parent 0ca2bfd779
commit c55d29ff11

View File

@ -187,8 +187,8 @@ static int setPackedICRdefault(JNIEnv *env, RasterS_t *rasterP,
int component, unsigned char *outDataP,
int supportsAlpha);
mlib_start_timer start_timer = NULL;
mlib_stop_timer stop_timer = NULL;
static mlib_start_timer start_timer = NULL;
static mlib_stop_timer stop_timer = NULL;
/***************************************************************************
* Debugging Definitions *