compiler_defines.h
来自「Artistic Style is a reindenter and refor」· C头文件 代码 · 共 50 行
H
50 行
/* * Copyright (c) 1998,1999,2000,2001,2002 Tal Davidson. All rights reserved. * * compiler_defines.h (1 January 1999) * by Tal Davidson (davidsont@bigfoot.com) * This file is a part of "Artistic Style" - an indentater and reformatter * of C, C++, C# and Java source files. * * The "Artistic Style" project, including all files needed to compile it, * is free software; you can redistribute it and/or use it and/or modify it * under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, * or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * You should have received a copy of the GNU General Public * License along with this program. *//* * comment out the line below if your compiler does NOT understand NAMESPACES */#define USES_NAMESPACE#if defined(__GNUC__) && __GNUC__ < 3 // for G++ implementation of string.compare:#define COMPARE(place, length, str) compare((str), (place), (length))#else// for standard implementation of string.compare:#define COMPARE(place, length, str) compare((place), (length), (str))#endif// Fix by John A. McNamara// Get rid of annoying MSVC warnings on debug builds about lengths of// identifiers in template instantiations.#ifdef _MSC_VER#pragma warning( disable:4786 )#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?