diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c
index 5dcef53f4f0a3bd5000482714baad9367efbfa8f..fd6aacf17f2fc797e4599ff2de0437c43059cf51 100644
--- a/src/sbbs3/js_global.c
+++ b/src/sbbs3/js_global.c
@@ -2416,10 +2416,6 @@ static jsSyncMethodSpec 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			},