mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 13:21:34 +00:00
* As we moved the VERSION macro to a .c file, we don't have to recompile the whole project when we change the version number. * Removed the version number from gui.xml * Removed the invalid first menu item that might appear in the root menu when the gui.xml version is outdated in debug mode.
32 lines
888 B
C
32 lines
888 B
C
// Aseprite
|
|
// Copyright (C) 2018-2020 Igara Studio S.A.
|
|
// Copyright (C) 2001-2018 David Capello
|
|
//
|
|
// This program is distributed under the terms of
|
|
// the End-User License Agreement for Aseprite.
|
|
|
|
#ifdef __ASEPRITE_CONFIG_H
|
|
#error You cannot use config.h two times
|
|
#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
|
|
|
|
#include "base/base.h"
|
|
#include "base/debug.h"
|
|
#include "base/log.h"
|