2015-02-12 12:16:25 -03:00
|
|
|
// Aseprite
|
2020-03-16 10:29:58 -03:00
|
|
|
// 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
|
|
|
|
2020-03-16 10:29:58 -03: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
|
|
|
|
|
2020-03-16 10:29:58 -03:00
|
|
|
#define __ASEPRITE_CONFIG_H
|
2012-04-07 13:12:01 -03:00
|
|
|
|
|
|
|
// In MSVC
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
// Avoid warnings about insecure standard C++ functions
|
2016-03-03 19:22:52 -03:00
|
|
|
#ifndef _CRT_SECURE_NO_WARNINGS
|
2012-04-07 13:12:01 -03:00
|
|
|
#define _CRT_SECURE_NO_WARNINGS
|
2016-03-03 19:22:52 -03:00
|
|
|
#endif
|
2012-04-07 13:12:01 -03:00
|
|
|
|
|
|
|
// Disable warning C4355 in MSVC: 'this' used in base member initializer list
|
|
|
|
#pragma warning(disable:4355)
|
2017-09-19 13:41:28 -03:00
|
|
|
|
|
|
|
// 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)
|
2012-04-07 13:12:01 -03:00
|
|
|
#endif
|
2007-09-18 23:57:02 +00:00
|
|
|
|
2015-02-12 10:55:58 -03:00
|
|
|
#include "base/base.h"
|
2014-09-20 23:51:56 -03:00
|
|
|
#include "base/debug.h"
|
2015-12-21 12:36:44 -03:00
|
|
|
#include "base/log.h"
|