/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */
#include <jni.h>

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#ifndef _WIN64
typedef int intptr_t;
#endif

#define jlong_to_ptr(value) (intptr_t)value
#define ptr_to_jlong(value) (jlong)((intptr_t)value)
