Add copyright notices and new function String.chomp
[ocaml.git] / config / m-nt.h
blobd14376815109dbff097aa68e13134a02f701cb43
1 /***********************************************************************/
2 /* */
3 /* Objective Caml */
4 /* */
5 /* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
6 /* */
7 /* Copyright 1996 Institut National de Recherche en Informatique et */
8 /* en Automatique. All rights reserved. This file is distributed */
9 /* under the terms of the GNU Library General Public License, with */
10 /* the special exception on linking described in file ../LICENSE. */
11 /* */
12 /***********************************************************************/
14 /* $Id$ */
16 /* Machine configuration, Intel x86 processors, Win32,
17 Visual C++ or Mingw compiler */
19 #ifdef _WIN64
20 #define ARCH_SIXTYFOUR
21 #else
22 #undef ARCH_SIXTYFOUR
23 #endif
24 #undef ARCH_BIG_ENDIAN
25 #undef ARCH_ALIGN_DOUBLE
27 #define SIZEOF_INT 4
28 #define SIZEOF_LONG 4
29 #ifdef _WIN64
30 #define SIZEOF_PTR 8
31 #else
32 #define SIZEOF_PTR 4
33 #endif
34 #define SIZEOF_SHORT 2
36 #ifdef __MINGW32__
37 #define ARCH_INT64_TYPE long long
38 #define ARCH_UINT64_TYPE unsigned long long
39 #else
40 #define ARCH_INT64_TYPE __int64
41 #define ARCH_UINT64_TYPE unsigned __int64
42 #endif
43 #define ARCH_INT64_PRINTF_FORMAT "I64"
45 #undef NONSTANDARD_DIV_MOD