mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:33:44 +03:00
multibyte: Fixed access-> waccess to file for Windows Plarform
Reviewed-by: Marcel Raad Closes #5580
This commit is contained in:
parent
3f84b3e39a
commit
e39a6e2cea
2 changed files with 25 additions and 0 deletions
|
|
@ -335,8 +335,10 @@
|
|||
# define struct_stat struct _stati64
|
||||
# define LSEEK_ERROR (__int64)-1
|
||||
# define fopen(fname,mode) curlx_win32_fopen(fname, mode)
|
||||
# define access(fname,mode) curlx_win32_access(fname, mode)
|
||||
int curlx_win32_stat(const char *path, struct_stat *buffer);
|
||||
FILE *curlx_win32_fopen(const char *filename, const char *mode);
|
||||
int curlx_win32_access(const char *path, int mode);
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
@ -354,8 +356,10 @@
|
|||
# define stat(fname,stp) curlx_win32_stat(fname, stp)
|
||||
# define struct_stat struct _stat
|
||||
# define fopen(fname,mode) curlx_win32_fopen(fname, mode)
|
||||
# define access(fname,mode) curlx_win32_access(fname, mode)
|
||||
int curlx_win32_stat(const char *path, struct_stat *buffer);
|
||||
FILE *curlx_win32_fopen(const char *filename, const char *mode);
|
||||
int curlx_win32_access(const char *path, int mode);
|
||||
# endif
|
||||
# define LSEEK_ERROR (long)-1
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue