summaryrefslogtreecommitdiff
path: root/ext/digest/defs.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:25:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:25:59 +0000
commitc0a636b6f94d7f95ed95a7abf7c2936bbd3fc5a7 (patch)
tree55cf5527b0186a806844bf63754fd6e27cebd45e /ext/digest/defs.h
parent17e1cfef8cae430ecce87ea3338b29992bd12665 (diff)
* st.c: primes should be primes.
* eval.c (is_defined): method defined? check should honor protected too. * eval.c (block_pass): should not pass tainted block, if $SAFE > 0. * variable.c (rb_mod_remove_cvar): should pass the char*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/defs.h')
-rw-r--r--ext/digest/defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index 7af8f52..df7df37 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -10,7 +10,8 @@
#if defined(HAVE_SYS_CDEFS_H)
# include <sys/cdefs.h>
-#else
+#endif
+#if !defined(__BEGIN_DECLS)
# define __BEGIN_DECLS
# define __END_DECLS
#endif