mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
92 lines
2.1 KiB
C
92 lines
2.1 KiB
C
/* ACC -- Automatic Compiler Configuration
|
|
|
|
Copyright (C) 1996-2004 Markus Franz Xaver Johannes Oberhumer
|
|
All Rights Reserved.
|
|
|
|
This software is a copyrighted work licensed under the terms of
|
|
the GNU General Public License. Please consult the file "ACC_LICENSE"
|
|
for details.
|
|
|
|
Markus F.X.J. Oberhumer
|
|
<markus@oberhumer.com>
|
|
http://www.oberhumer.com/
|
|
*/
|
|
|
|
|
|
/*
|
|
* Possible configuration values:
|
|
*
|
|
* ACC_CONFIG_NO_HEADER
|
|
* ACC_CONFIG_HEADER if given, then use this as <config.h>
|
|
* ACC_CONFIG_INCLUDE include path to acc_ files
|
|
*
|
|
* ACC_CONFIG_PREFER___INT64 [acc_type.h]
|
|
*/
|
|
|
|
|
|
#ifndef __ACC_H_INCLUDED
|
|
#define __ACC_H_INCLUDED 1
|
|
|
|
#define ACC_VERSION 20040712L
|
|
|
|
#if !defined(ACC_CONFIG_INCLUDE)
|
|
# define ACC_CONFIG_INCLUDE(file) file
|
|
#endif
|
|
|
|
|
|
#if defined(__CYGWIN32__) && !defined(__CYGWIN__)
|
|
# define __CYGWIN__ __CYGWIN32__
|
|
#endif
|
|
#if defined(__IBMCPP__) && !defined(__IBMC__)
|
|
# define __IBMC__ __IBMCPP__
|
|
#endif
|
|
#if defined(__ICL) && defined(_WIN32) && !defined(__INTEL_COMPILER)
|
|
# define __INTEL_COMPILER __ICL
|
|
#endif
|
|
|
|
|
|
/* disable pedantic warnings for undefined preprocessing symbols */
|
|
#if defined(__INTEL_COMPILER) && defined(__linux__)
|
|
# pragma warning(disable: 193)
|
|
#endif
|
|
#if defined(__KEIL__) && defined(__C166__)
|
|
# pragma warning disable = 322
|
|
#elif 0 && defined(__C251__)
|
|
# pragma warning disable = 322
|
|
#endif
|
|
#if defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__MWERKS__)
|
|
# if (_MSC_VER >= 1300)
|
|
# pragma warning(disable: 4668)
|
|
# endif
|
|
#endif
|
|
#if 0 && defined(__WATCOMC__)
|
|
# if (__WATCOMC__ < 1060)
|
|
# pragma warning 203 9
|
|
# endif
|
|
#endif
|
|
|
|
|
|
#include <limits.h>
|
|
#include ACC_CONFIG_INCLUDE("acc_init.h")
|
|
#include ACC_CONFIG_INCLUDE("acc_os.h")
|
|
#include ACC_CONFIG_INCLUDE("acc_cc.h")
|
|
#include ACC_CONFIG_INCLUDE("acc_arch.h")
|
|
#include ACC_CONFIG_INCLUDE("acc_mm.h")
|
|
#include ACC_CONFIG_INCLUDE("acc_defs.h")
|
|
|
|
#if defined(ACC_CONFIG_NO_HEADER)
|
|
#elif defined(ACC_CONFIG_HEADER)
|
|
# include ACC_CONFIG_HEADER
|
|
#else
|
|
# include ACC_CONFIG_INCLUDE("acc_auto.h")
|
|
#endif
|
|
|
|
#include ACC_CONFIG_INCLUDE("acc_type.h")
|
|
|
|
#endif /* already included */
|
|
|
|
|
|
/*
|
|
vi:ts=4:et
|
|
*/
|