diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c index c32b8e63b730597abb52f0055c389c2b97d6f7f1..79e33ef5041be28c1674d6779ec7d59ae8787452 100644 --- a/src/sbbs3/js_global.c +++ b/src/sbbs3/js_global.c @@ -2335,6 +2335,10 @@ static jsMethodSpec js_global_functions[] = { {0} }; +#if defined(EDEADLK) && !defined(EDEADLOCK) + #define EDEADLOCK EDEADLK +#endif + static jsConstIntSpec js_global_const_ints[] = { /* Numeric error constants from errno.h (platform-dependant) */ {"EPERM" ,EPERM },