Files
pkgsrc-ng/devel/pccts/patches/patch-ae
2013-09-26 17:14:40 +02:00

23 lines
575 B
Plaintext

$NetBSD: patch-ae,v 1.1 2003/11/09 06:15:24 fredb Exp $
--- h/pcctscfg.h.orig 1999-10-07 21:19:11.000000000 -0500
+++ h/pcctscfg.h
@@ -44,7 +44,7 @@
/* should test __STDC__ for 1, but some compilers don't set value, just def */
#ifndef __USE_PROTOS
-#ifdef __STDC__
+#if defined(__STDC__) || defined(__STDC_HOSTED__)
#define __USE_PROTOS
#endif
#ifdef __cplusplus
@@ -335,7 +335,7 @@ void special_fopen_actions(char * s)
#endif
#endif
-#ifdef __STDC__
+#if defined(__STDC__) || defined(__STDC_HOSTED__)
#ifndef PCCTS_USE_STDARG
#define PCCTS_USE_STDARG
#endif