bail when Sys_MakeCodeWriteable winds up empty

This commit is contained in:
Bill Currie 2001-08-20 22:12:40 +00:00
parent 1ed975edd5
commit 548ff2f227

View file

@ -255,6 +255,8 @@ Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length)
if (r < 0) if (r < 0)
Sys_Error ("Protection change failed\n"); Sys_Error ("Protection change failed\n");
# else
# error do not know how to make code writable
# endif # endif
#endif #endif
} }