2015-10-06 10:18:30 -04:00
|
|
|
#ifndef MSVC_COMPAT_WINDOWS_EXTRA_H
|
|
|
|
#define MSVC_COMPAT_WINDOWS_EXTRA_H
|
|
|
|
|
2017-04-22 07:12:42 -04:00
|
|
|
#ifndef ENOENT
|
|
|
|
# define ENOENT ERROR_PATH_NOT_FOUND
|
|
|
|
#endif
|
|
|
|
#ifndef EINVAL
|
|
|
|
# define EINVAL ERROR_BAD_ARGUMENTS
|
|
|
|
#endif
|
|
|
|
#ifndef EAGAIN
|
|
|
|
# define EAGAIN ERROR_OUTOFMEMORY
|
|
|
|
#endif
|
|
|
|
#ifndef EPERM
|
|
|
|
# define EPERM ERROR_WRITE_FAULT
|
|
|
|
#endif
|
|
|
|
#ifndef EFAULT
|
|
|
|
# define EFAULT ERROR_INVALID_ADDRESS
|
|
|
|
#endif
|
|
|
|
#ifndef ENOMEM
|
|
|
|
# define ENOMEM ERROR_NOT_ENOUGH_MEMORY
|
|
|
|
#endif
|
|
|
|
#ifndef ERANGE
|
|
|
|
# define ERANGE ERROR_INVALID_DATA
|
|
|
|
#endif
|
2015-10-06 10:18:30 -04:00
|
|
|
|
|
|
|
#endif /* MSVC_COMPAT_WINDOWS_EXTRA_H */
|