summaryrefslogtreecommitdiffstats
path: root/lib/strpbrk.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-11-10 00:26:33 +0000
committerBruno Haible <bruno@clisp.org>2009-06-21 22:56:20 +0200
commit16fc59ed82f19035c88eb0f72899ca669655d405 (patch)
treef0bd8b78d3fc7476b447478579de30e399d8f713 /lib/strpbrk.h
parent38097b81318ccf9ef8616ca9f1c264e0aca177c1 (diff)
downloadexternal_gettext-16fc59ed82f19035c88eb0f72899ca669655d405.zip
external_gettext-16fc59ed82f19035c88eb0f72899ca669655d405.tar.gz
external_gettext-16fc59ed82f19035c88eb0f72899ca669655d405.tar.bz2
Make PARAMS work better on Solaris.
Diffstat (limited to 'lib/strpbrk.h')
-rw-r--r--lib/strpbrk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strpbrk.h b/lib/strpbrk.h
index bc01c3d..67aa525 100644
--- a/lib/strpbrk.h
+++ b/lib/strpbrk.h
@@ -16,7 +16,7 @@
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef PARAMS
-# if defined (__GNUC__) || __STDC__
+# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define PARAMS(Args) Args
# else
# define PARAMS(Args) ()