Browse Source

MFB

experimental/first_unicode_implementation
Kalle Sommer Nielsen 18 years ago
parent
commit
afb7bea13c
  1. 2
      win32/wfile.c
  2. 2
      win32/wfile.h

2
win32/wfile.c

@ -6,7 +6,7 @@
int readlink(char *file_Name, char *buf_Mem, int buf_Size)
{
/* See if the file exists */
if (access(file_Name, X_OK) == -1) {
if (access(file_Name, WFILE_EXISTS) == -1) {
errno = ENOENT;
} else {
errno = EINVAL;

2
win32/wfile.h

@ -4,7 +4,7 @@
#include <errno.h>
#define access _access
#define X_OK 0
#define WFILE_EXISTS 0
#ifndef ENOENT
#define ENOENT 136
#endif

Loading…
Cancel
Save