aseprite/src/config.h

32 lines
888 B
C
Raw Normal View History

2015-02-12 12:16:25 -03:00
// Aseprite
// Copyright (C) 2018-2020 Igara Studio S.A.
2018-02-09 14:52:28 -03:00
// Copyright (C) 2001-2018 David Capello
2015-02-12 12:16:25 -03:00
//
2016-08-26 17:02:58 -03:00
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
2007-09-18 23:57:02 +00:00
#ifdef __ASEPRITE_CONFIG_H
2010-04-22 19:00:22 -03:00
#error You cannot use config.h two times
2007-09-18 23:57:02 +00:00
#endif
#define __ASEPRITE_CONFIG_H
// In MSVC
#ifdef _MSC_VER
// Avoid warnings about insecure standard C++ functions
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
// Disable warning C4355 in MSVC: 'this' used in base member initializer list
#pragma warning(disable:4355)
// Disable warning C4710 in MSVC: function not inlined (generated by MSVC header files)
// https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4710
#pragma warning(disable:4710)
#endif
2007-09-18 23:57:02 +00:00
#include "base/base.h"
2014-09-20 23:51:56 -03:00
#include "base/debug.h"
#include "base/log.h"