1996-02-21 02:49:46 -08:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
2011-07-27 07:17:02 -07:00
|
|
|
/* OCaml */
|
1996-02-21 02:49:46 -08:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1999-11-17 10:59:06 -08:00
|
|
|
/* en Automatique. All rights reserved. This file is distributed */
|
2001-12-07 05:41:02 -08:00
|
|
|
/* under the terms of the GNU Library General Public License, with */
|
|
|
|
/* the special exception on linking described in file ../LICENSE. */
|
1996-02-21 02:49:46 -08:00
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
/* Machine configuration, Intel x86 processors, Win32,
|
|
|
|
Visual C++ or Mingw compiler */
|
1996-02-21 02:49:46 -08:00
|
|
|
|
2006-05-09 09:02:09 -07:00
|
|
|
#ifdef _WIN64
|
|
|
|
#define ARCH_SIXTYFOUR
|
|
|
|
#else
|
1996-07-01 05:43:28 -07:00
|
|
|
#undef ARCH_SIXTYFOUR
|
2006-05-09 09:02:09 -07:00
|
|
|
#endif
|
1996-07-01 05:43:28 -07:00
|
|
|
#undef ARCH_BIG_ENDIAN
|
|
|
|
#undef ARCH_ALIGN_DOUBLE
|
2006-05-09 09:02:09 -07:00
|
|
|
|
1998-08-14 02:57:43 -07:00
|
|
|
#define SIZEOF_INT 4
|
|
|
|
#define SIZEOF_LONG 4
|
2006-05-09 09:02:09 -07:00
|
|
|
#ifdef _WIN64
|
|
|
|
#define SIZEOF_PTR 8
|
|
|
|
#else
|
2005-09-22 07:21:50 -07:00
|
|
|
#define SIZEOF_PTR 4
|
2006-05-09 09:02:09 -07:00
|
|
|
#endif
|
1998-08-14 02:57:43 -07:00
|
|
|
#define SIZEOF_SHORT 2
|
2006-05-09 09:02:09 -07:00
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
#ifdef __MINGW32__
|
|
|
|
#define ARCH_INT64_TYPE long long
|
|
|
|
#define ARCH_UINT64_TYPE unsigned long long
|
|
|
|
#else
|
2000-02-11 07:47:09 -08:00
|
|
|
#define ARCH_INT64_TYPE __int64
|
|
|
|
#define ARCH_UINT64_TYPE unsigned __int64
|
2002-06-07 02:49:45 -07:00
|
|
|
#endif
|
2000-02-11 07:47:09 -08:00
|
|
|
#define ARCH_INT64_PRINTF_FORMAT "I64"
|
2006-05-09 09:02:09 -07:00
|
|
|
|
2015-11-19 00:59:40 -08:00
|
|
|
#if !defined(__MINGW32__) && !defined(inline)
|
|
|
|
#define inline __inline
|
|
|
|
#endif
|
|
|
|
|
2001-11-27 04:57:45 -08:00
|
|
|
#undef NONSTANDARD_DIV_MOD
|