summaryrefslogtreecommitdiff
path: root/devel/astyle/patches/patch-ab
blob: 228d695669b0425923a94e3d5fd92ef69d833524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2003/11/05 15:27:41 jmmv Exp $

--- compiler_defines.h.orig	2003-11-05 16:09:42.000000000 +0100
+++ compiler_defines.h
@@ -31,7 +31,7 @@
 #define USES_NAMESPACE
 
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && defined(ASTYLE_GCC2)
 // for G++ implementation of string.compare:
 #define COMPARE(place, length, str)       compare((str), (place), (length))
 #else