< prev index next >
jdk/src/java.instrument/share/native/libinstrument/Reentrancy.c
Print this page
@@ -88,11 +88,15 @@
void
assertTLSValue( jvmtiEnv * jvmtienv,
jthread thread,
const void * expected) {
jvmtiError error;
+#if defined _WIN32 && _MSC_VER >= 1900
+ void * test = (void *)(uintptr_t) 0x99999999;
+#else
void * test = (void *) 0x99999999;
+#endif
/* now check if we do a fetch we get what we wrote */
error = (*jvmtienv)->GetThreadLocalStorage(
jvmtienv,
thread,
< prev index next >