diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-15 06:34:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-15 06:34:02 +0000 |
commit | 22361a3d1ce3a9bcc1c52237f93ec30f19e89860 (patch) | |
tree | c804284cf126c1865b72bd477cf24eab42b0f371 /include | |
parent | 40a98ca132b3f95097b76eca50c8131f10c845b5 (diff) | |
download | ruby-22361a3d1ce3a9bcc1c52237f93ec30f19e89860.tar.gz |
* file.c (file_expand_path): support for alternative data stream
and ignored trailing garbages of NTFS.
* file.c (rb_file_s_basename): ditto.
* file.c (rb_file_s_extname): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/defines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 00708e1039..2be89de5ff 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -262,6 +262,14 @@ void rb_ia64_flushrs(void); #define ENV_IGNORECASE #endif +#ifndef CASEFOLD_FILESYSTEM +# if defined DOSISH || defined __VMS +# define CASEFOLD_FILESYSTEM 1 +# else +# define CASEFOLD_FILESYSTEM 0 +# endif +#endif + #ifndef DLEXT_MAXLEN #define DLEXT_MAXLEN 4 #endif |