diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-13 14:15:55 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-13 14:15:55 +0000 |
| commit | 8515fee36f13a426e8af4557378ec4036740caae (patch) | |
| tree | 17a3eb28fa4a2431bd5c5b2ba583a267785ac0f8 /dir.c | |
| parent | 912d931dd18f7d5bc51901b925f1b2a44254a2df (diff) | |
| download | ruby-8515fee36f13a426e8af4557378ec4036740caae.tar.gz ruby-8515fee36f13a426e8af4557378ec4036740caae.tar.xz ruby-8515fee36f13a426e8af4557378ec4036740caae.zip | |
* dir.c (lstat): should use rb_sys_stat if lstat(2) is not
available.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -61,6 +61,10 @@ char *strchr _((char*,char)); #include <ctype.h> +#ifndef HAVE_LSTAT +#define lstat rb_sys_stat +#endif + #define FNM_NOESCAPE 0x01 #define FNM_PATHNAME 0x02 #define FNM_PERIOD 0x04 |
