mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Add OVERRIDE macro as wrapper for MSVC "override" keyword.
This commit is contained in:
parent
be955de1da
commit
bc86d0afd7
16
src/base/compiler_specific.h
Normal file
16
src/base/compiler_specific.h
Normal file
@ -0,0 +1,16 @@
|
||||
// ASE base library
|
||||
// Copyright (C) 2001-2011 David Capello
|
||||
//
|
||||
// This source file is ditributed under a BSD-like license, please
|
||||
// read LICENSE.txt for more information.
|
||||
|
||||
#ifndef BASE_COMPILER_SPECIFIC_H_INCLUDED
|
||||
#define BASE_COMPILER_SPECIFIC_H_INCLUDED
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define OVERRIDE override
|
||||
#else
|
||||
#define OVERRIDE
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user