delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/17/18:12:02

From: vzell AT de DOT oracle DOT com (Dr. Volker Zell)
Subject: Re: Problem with a header file
17 Sep 1998 18:12:02 -0700 :
Message-ID: <7278-Thu17Sep1998110732+0200-vzell.cygnus.gnu-win32@de.oracle.com>
References: <Pine DOT SUN DOT 3 DOT 93 DOT 980916211202 DOT 25431A-100000 AT modi DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
To: khan AT xraylith DOT wisc DOT edu
Cc: gnu-win32 AT cygnus DOT com

Hi and thanks a lot Mumit

    >> That's because _int64 is not a built-in type for GCC; it is for
    >> MSVC and a few other win32 compilers however, and that's
    >> there's code out there that trips over this.

The same problem is in the jdk header file jni_md.h:

/*
 * @(#)jni_md.h 1.6 97/08/07
 *
 * Copyright 1993-1997 Sun Microsystems, Inc. 901 San Antonio Road,
 * Palo Alto, California, 94303, U.S.A.  All Rights Reserved.
 *
 * This software is the confidential and proprietary information of Sun
 * Microsystems, Inc. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sun.
 *
 * CopyrightVersion 1.2
 *
 */

#ifndef JNI_MD_H
#define JNI_MD_H

#define JNIEXPORT __declspec(dllexport)
#define JNIIMPORT __declspec(dllimport)
#define JNICALL __stdcall

typedef long jint;
typedef __int64 jlong;                            <-------
typedef signed char jbyte;

#endif /* JNI_MD_H */


Ciao
  Volker

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019