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 /sw/source | |
parent | c318f3b0224a57102614be0efec4b49c80a3aa82 (diff) |
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 'sw/source')
-rw-r--r-- | sw/source/core/inc/bodyfrm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/bodyfrm.hxx b/sw/source/core/inc/bodyfrm.hxx index 1879fffbf08e..52613a79913e 100644 --- a/sw/source/core/inc/bodyfrm.hxx +++ b/sw/source/core/inc/bodyfrm.hxx @@ -29,7 +29,7 @@ class SwBodyFrm: public SwLayoutFrm protected: virtual void Format( const SwBorderAttrs *pAttrs = 0 ); -#if defined ( GCC) && defined ( C272 ) +#if defined ( __GNUC__ ) && defined ( C272 ) ~SwBodyFrm(); #endif |