From aa47f513cf2186efa12a29992bd6dd0929cc1d88 Mon Sep 17 00:00:00 2001 From: kvigor Date: Tue, 29 Feb 2000 04:30:30 +0000 Subject: [PATCH] CLean up warnings with Borland C++ git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@135 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/gc/gc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) () -- 2.47.2