summaryrefslogtreecommitdiffstats
path: root/ext/digest
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
commite4f1a557fd6f5189c28cd6663b90f8f6c6c1b686 (patch)
tree55cf5527b0186a806844bf63754fd6e27cebd45e /ext/digest
parentaefad35e2c5ef6077a095b66e2d59602d36f83ef (diff)
downloadruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.tar.gz
ruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.tar.xz
ruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@1996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-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 7af8f5232..df7df377b 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