This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] AmigaOS 4 port contribution [intl]


Like with libstdc++-v3, nobody said anything about the intl part
either (well, nothing which required any change at least :), so this
patch contains no changes from before, it's just separated from the
other stuff.


  // Marcus


ChangeLog entry:

	* dcigettext.c: Guard against getcwd being a macro.


Index: intl/dcigettext.c
===================================================================
RCS file: /cvsroot/gcc/gcc/intl/dcigettext.c,v
retrieving revision 1.1
diff -u -p -r1.1 dcigettext.c
--- intl/dcigettext.c	4 Jul 2003 18:18:54 -0000	1.1
+++ intl/dcigettext.c	7 Oct 2003 22:00:24 -0000
@@ -148,7 +148,9 @@ extern int errno;
 char *getwd ();
 #  define getcwd(buf, max) getwd (buf)
 # else
+#   if !defined getcwd
 char *getcwd ();
+#   endif
 # endif
 # ifndef HAVE_STPCPY
 static char *stpcpy PARAMS ((char *dest, const char *src));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]