CLean up warnings with Borland C++
authorkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 29 Feb 2000 04:30:30 +0000 (04:30 +0000)
committerkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 29 Feb 2000 04:30:30 +0000 (04:30 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@135 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/gc/gc.h

index 306140953140520f39ab5e3064e588b968e9aa78..fa20363c4e1337a6d29d603151e27c7e45e7cd32 100644 (file)
@@ -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) ()