3
* Copyright (c) 1998, 1999 Tal Davidson. All rights reserved.
5
* compiler_defines.h (1 January 1999)
6
* by Tal Davidson (davidsont@bigfoot.com)
7
* This file is a part of "Artistic Style" - an indentater and reformatter
8
* of C++, C, and Java source files.
10
* The "Artistic Style" project, including all files needed to compile it,
11
* is free software; you can redistribute it and/or use it and/or modify it
12
* under the terms of EITHER the "Artistic License" OR
13
* the GNU General Public License as published by the Free Software Foundation;
14
* either version 2 of the License, or (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
* You should have received a copy of EITHER the "Artistic License" or
21
* the GNU General Public License along with this program.
29
* comment out the line below if your compiler does NOT understand NAMESPACES
31
#define USES_NAMESPACE
34
#if defined(__GNUC__) && __GNUC__ < 3
35
// for G++ implementation of string.compare:
36
#define COMPARE(place, length, str) compare((str), (place), (length))
38
// for standard implementation of string.compare:
39
#define COMPARE(place, length, str) compare((place), (length), (str))
43
// Fix by John A. McNamara
44
// Get rid of annoying MSVC warnings on debug builds about lengths of
45
// identifiers in template instantiations.
47
#pragma warning( disable:4786 )