1// Aseprite
2// Copyright (C) 2018-2020 Igara Studio S.A.
3// Copyright (C) 2001-2018 David Capello
4//
5// This program is distributed under the terms of
6// the End-User License Agreement for Aseprite.
7
8#ifdef __ASEPRITE_CONFIG_H
9#error You cannot use config.h two times
10#endif
11
12#define __ASEPRITE_CONFIG_H
13
14// In MSVC
15#ifdef _MSC_VER
16 // Avoid warnings about insecure standard C++ functions
17 #ifndef _CRT_SECURE_NO_WARNINGS
18 #define _CRT_SECURE_NO_WARNINGS
19 #endif
20
21 // Disable warning C4355 in MSVC: 'this' used in base member initializer list
22 #pragma warning(disable:4355)
23
24 // Disable warning C4710 in MSVC: function not inlined (generated by MSVC header files)
25 // https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4710
26 #pragma warning(disable:4710)
27#endif
28
29#include "base/base.h"
30#include "base/debug.h"
31#include "base/log.h"
32