diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1998-02-27 14:06:41 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1998-02-27 14:06:41 +0000 |
commit | bef3a4317e628afa2962d66bf88bf6701e485c1e (patch) | |
tree | 97d12ef22b3fbf709ab1262048a79e2213a134e3 /byterun | |
parent | 83cea541c3534f64f6ecae3e30ac0730b9b57107 (diff) | |
download | ocaml-bef3a4317e628afa2962d66bf88bf6701e485c1e.tar.gz |
#define S_ISREG
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun')
-rw-r--r-- | byterun/sys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/sys.c b/byterun/sys.c index 7112f6e97e..242959a02e 100644 --- a/byterun/sys.c +++ b/byterun/sys.c @@ -255,6 +255,8 @@ value sys_get_config(value unit) /* ML */ #ifdef _WIN32 +#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) + char * searchpath(char * name) { char * fullname; |