From: kvigor Date: Tue, 29 Feb 2000 04:30:30 +0000 (+0000) Subject: CLean up warnings with Borland C++ X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=aa47f513cf2186efa12a29992bd6dd0929cc1d88;p=fw%2Fsdcc CLean up warnings with Borland C++ git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@135 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/gc/gc.h b/support/gc/gc.h index 30614095..fa20363c 100644 --- a/support/gc/gc.h +++ b/support/gc/gc.h @@ -55,8 +55,8 @@ #define GC_API extern #endif -# if defined(__STDC__) || defined(__cplusplus) -# define GC_PROTO(args) args +# if defined(__STDC__) || defined(__cplusplus) || defined(__BORLANDC__) +# define GC_PROTO(args) args typedef void * GC_PTR; # else # define GC_PROTO(args) ()