diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-12-27 13:37:20 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-12-27 13:38:15 +0200 |
commit | d72a0b5c618a37b70ba4d111b457deefad8f025f (patch) | |
tree | 6b6d3c900397d34a73cde2ef0053a4c6154869c1 /tools | |
parent | Check for _MSC_VER instead of MSC in sources (diff) | |
download | core-d72a0b5c618a37b70ba4d111b457deefad8f025f.tar.gz core-d72a0b5c618a37b70ba4d111b457deefad8f025f.zip |
Check for __GNUC__ instead of GCC in sources
We still have checks for $(COM) being GCC or MSC in makefiles, of
course. But there is no reason to pass -D$(COM) to compilations.
Checking the built-in compiler-specific macros __GNUC__, _MSC_VER
(etc) is the right thing to do.
Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/debug/debug.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 3d573b57b33c..535e0aeb9b74 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#if defined (UNX) || defined (GCC) +#if defined (UNX) || defined (__GNUC__) #include <unistd.h> #else #include <direct.h> |