mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 06:42:18 -08:00
Defined mode_t for Windows. It doesn't have this type.
This commit is contained in:
parent
363ec85f59
commit
3fe675ac83
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# include <unistd.h>
|
||||
#else
|
||||
|
|
@ -25,7 +26,9 @@
|
|||
# include <direct.h>
|
||||
# define access _access
|
||||
# define F_OK 0
|
||||
typedef int mode_t;
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <ecl/ecl.h>
|
||||
#ifdef HAVE_PWD_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue