summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-20 06:22:50 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-20 06:22:50 +0000
commit65ba3eba645a61ae9995f9f1e88cab6150c858a7 (patch)
tree65059b38fc55fe27377314c663426f71be81bccc /defines.h
parent068bc7e43a7e88d9d48aa627a846ef5f22660694 (diff)
* defines.h (PATH_ENV): name of PATH environment. [new].
* defines.h (ENV_IGNORECASE): define for case insensitive platforms to access environment variables. * dln.c (dln_find_exe): use PATH_ENV instead of "PATH". * hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted, env_aset): ditto. * ruby.c (proc_options): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 24bb3b0..59b348a 100644
--- a/defines.h
+++ b/defines.h
@@ -166,6 +166,16 @@ flush_register_windows(void)
#define PATH_SEP_CHAR PATH_SEP[0]
#if defined(__human68k__)
+#define PATH_ENV "path"
+#else
+#define PATH_ENV "PATH"
+#endif
+
+#if defined(DOSISH) || !defined(__human68k__)
+#define ENV_IGNORECASE
+#endif
+
+#if defined(__human68k__)
#undef HAVE_RANDOM
#undef HAVE_SETITIMER
#endif