Skip to content
Snippets Groups Projects
Commit a56afbba authored by rswindell's avatar rswindell
Browse files

Fix for system (e.g. FreeBSD) where EDEADLOCK is not defined.

parent effca3ef
No related branches found
No related tags found
No related merge requests found
...@@ -2335,6 +2335,10 @@ static jsMethodSpec js_global_functions[] = { ...@@ -2335,6 +2335,10 @@ static jsMethodSpec js_global_functions[] = {
{0} {0}
}; };
#if defined(EDEADLK) && !defined(EDEADLOCK)
#define EDEADLOCK EDEADLK
#endif
static jsConstIntSpec js_global_const_ints[] = { static jsConstIntSpec js_global_const_ints[] = {
/* Numeric error constants from errno.h (platform-dependant) */ /* Numeric error constants from errno.h (platform-dependant) */
{"EPERM" ,EPERM }, {"EPERM" ,EPERM },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment