]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/ocaml/contrib/config/m-nt.h
Update
[l4.git] / l4 / pkg / ocaml / ocaml / contrib / config / m-nt.h
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 /***********************************************************************/
13
14 /* $Id: m-nt.h 7408 2006-05-09 16:02:09Z xleroy $ */
15
16 /* Machine configuration, Intel x86 processors, Win32,
17    Visual C++ or Mingw compiler */
18
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
26
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
35
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"
44
45 #undef NONSTANDARD_DIV_MOD
46