summaryrefslogtreecommitdiffstats
path: root/lib/hash.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/hash.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/hash.h')
-rw-r--r--lib/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.h b/lib/hash.h
index c6ce3e0..d568c11 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 2000, 2001 Free Software Foundation, Inc.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@@ -31,7 +31,7 @@ typedef struct hash_table
hash_table;
# ifndef PARAMS
-# if defined (__GNUC__) || __STDC__
+# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define PARAMS(Args) Args
# else
# define PARAMS(Args) ()