Merge from libgcj. Merged patches from net. See ChangeLog for details.

This commit is contained in:
green
2000-04-17 03:18:46 +00:00
parent c578b58314
commit c4860de618
21 changed files with 3560 additions and 1287 deletions

View File

@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------
ffi_common.h - Copyright (c) 1996 Cygnus Solutions
$Id: ffi_common.h,v 1.1 1998/11/29 16:48:16 green Exp $
$Id: ffi_common.h,v 1.2 2000/04/17 03:18:45 green Exp $
Common internal definitions and macros. Only necessary for building
libffi.
@@ -10,6 +10,10 @@
#ifndef FFI_COMMON_H
#define FFI_COMMON_H
#ifdef __cplusplus
extern "C" {
#endif
/* Do not move this. Some versions of AIX are very picky about where
this is positioned. */
#ifdef __GNUC__
@@ -45,10 +49,12 @@ char *alloca ();
#define TRUE (!FALSE)
#endif
#ifndef __cplusplus
/* bool is a keyword in C++ */
/*@-cppnames@*/
typedef int bool;
/*@=cppnames@*/
#endif
#ifdef FFI_DEBUG
@@ -76,5 +82,10 @@ typedef struct
/*@dependent@*/ void **avalue;
} extended_cif;
#ifdef __cplusplus
}
#endif
#endif