summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/text/portxt.hxx2
-rw-r--r--sw/source/ui/inc/wrtsh.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx
index 66ba746783b0..90e6b3e98cae 100644
--- a/sw/source/core/text/portxt.hxx
+++ b/sw/source/core/text/portxt.hxx
@@ -18,7 +18,7 @@
*/
#ifndef _PORTXT_HXX
#define _PORTXT_HXX
-#ifdef GCC
+#ifdef __GNUC__
#include <sys/types.h>
#else
#include <new.h> // for size_t, FIXEDMEM from tools
diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx
index 4bc220918b53..836876b894b0 100644
--- a/sw/source/ui/inc/wrtsh.hxx
+++ b/sw/source/ui/inc/wrtsh.hxx
@@ -638,7 +638,7 @@ inline sal_Bool SwWrtShell::IsInClickToEdit() const { return bIsInClickToEdit; }
inline sal_Bool SwWrtShell::Is_FnDragEQBeginDrag() const
{
-#ifdef GCC
+#ifdef __GNUC__
SELECTFUNC fnTmp = &SwWrtShell::BeginDrag;
return fnDrag == fnTmp;
#else