pkgsrc/devel/astyle/patches/patch-ab
2003-11-05 15:27:41 +00:00

13 lines
383 B
Text

$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