Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 26 | pmbaty | 1 | /* ACC -- Automatic Compiler Configuration |
| 2 | |||
| 3 | Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer |
||
| 4 | All Rights Reserved. |
||
| 5 | |||
| 6 | This software is a copyrighted work licensed under the terms of |
||
| 7 | the GNU General Public License. Please consult the file "ACC_LICENSE" |
||
| 8 | for details. |
||
| 9 | |||
| 10 | Markus F.X.J. Oberhumer |
||
| 11 | <markus@oberhumer.com> |
||
| 12 | http://www.oberhumer.com/ |
||
| 13 | */ |
||
| 14 | |||
| 15 | |||
| 16 | /* |
||
| 17 | * Possible configuration values: |
||
| 18 | * |
||
| 19 | * ACC_CONFIG_NO_HEADER |
||
| 20 | * ACC_CONFIG_HEADER if given, then use this as <config.h> |
||
| 21 | * ACC_CONFIG_INCLUDE include path to acc_ files |
||
| 22 | * |
||
| 23 | * ACC_CONFIG_PREFER___INT64 [acc_type.h] |
||
| 24 | */ |
||
| 25 | |||
| 26 | |||
| 27 | #ifndef __ACC_H_INCLUDED |
||
| 28 | #define __ACC_H_INCLUDED 1 |
||
| 29 | |||
| 30 | #define ACC_VERSION 20040715L |
||
| 31 | |||
| 32 | #if !defined(ACC_CONFIG_INCLUDE) |
||
| 33 | # define ACC_CONFIG_INCLUDE(file) file |
||
| 34 | #endif |
||
| 35 | |||
| 36 | |||
| 37 | #if defined(__CYGWIN32__) && !defined(__CYGWIN__) |
||
| 38 | # define __CYGWIN__ __CYGWIN32__ |
||
| 39 | #endif |
||
| 40 | #if defined(__IBMCPP__) && !defined(__IBMC__) |
||
| 41 | # define __IBMC__ __IBMCPP__ |
||
| 42 | #endif |
||
| 43 | #if defined(__ICL) && defined(_WIN32) && !defined(__INTEL_COMPILER) |
||
| 44 | # define __INTEL_COMPILER __ICL |
||
| 45 | #endif |
||
| 46 | |||
| 47 | #if 1 && defined(__INTERIX) && defined(__GNUC__) && !defined(_ALL_SOURCE) |
||
| 48 | # define _ALL_SOURCE 1 |
||
| 49 | #endif |
||
| 50 | |||
| 51 | /* disable pedantic warnings for undefined preprocessing symbols */ |
||
| 52 | #if defined(__INTEL_COMPILER) && defined(__linux__) |
||
| 53 | # pragma warning(disable: 193) |
||
| 54 | #endif |
||
| 55 | #if defined(__KEIL__) && defined(__C166__) |
||
| 56 | # pragma warning disable = 322 |
||
| 57 | #elif 0 && defined(__C251__) |
||
| 58 | # pragma warning disable = 322 |
||
| 59 | #endif |
||
| 60 | #if defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__MWERKS__) |
||
| 61 | # if (_MSC_VER >= 1300) |
||
| 62 | # pragma warning(disable: 4668) |
||
| 63 | # endif |
||
| 64 | #endif |
||
| 65 | #if 0 && defined(__WATCOMC__) |
||
| 66 | # if (__WATCOMC__ < 1060) |
||
| 67 | # pragma warning 203 9 |
||
| 68 | # endif |
||
| 69 | #endif |
||
| 70 | |||
| 71 | |||
| 72 | #include <limits.h> |
||
| 73 | #include ACC_CONFIG_INCLUDE("acc_init.h") |
||
| 74 | #include ACC_CONFIG_INCLUDE("acc_os.h") |
||
| 75 | #include ACC_CONFIG_INCLUDE("acc_cc.h") |
||
| 76 | #include ACC_CONFIG_INCLUDE("acc_arch.h") |
||
| 77 | #include ACC_CONFIG_INCLUDE("acc_mm.h") |
||
| 78 | #include ACC_CONFIG_INCLUDE("acc_defs.h") |
||
| 79 | |||
| 80 | #if defined(ACC_CONFIG_NO_HEADER) |
||
| 81 | #elif defined(ACC_CONFIG_HEADER) |
||
| 82 | # include ACC_CONFIG_HEADER |
||
| 83 | #else |
||
| 84 | # include ACC_CONFIG_INCLUDE("acc_auto.h") |
||
| 85 | #endif |
||
| 86 | |||
| 87 | #include ACC_CONFIG_INCLUDE("acc_type.h") |
||
| 88 | |||
| 89 | #endif /* already included */ |
||
| 90 | |||
| 91 | |||
| 92 | /* |
||
| 93 | vi:ts=4:et |
||
| 94 | */ |