mirror of
https://github.com/fluencelabs/redis
synced 2025-05-01 13:32:13 +00:00
This reverts commit 153f2f00ea5c74cbd63d92a261d31c42df8dce21. Jemalloc 4.4.0 is apparently causing deadlocks in certain systems. See for example https://github.com/antirez/redis/issues/3799. As a cautionary step we are reverting the commit back and releasing a new stable Redis version.
27 lines
529 B
C
27 lines
529 B
C
#ifndef MSVC_COMPAT_WINDOWS_EXTRA_H
|
|
#define MSVC_COMPAT_WINDOWS_EXTRA_H
|
|
|
|
#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
|
|
|
|
#endif /* MSVC_COMPAT_WINDOWS_EXTRA_H */
|