mirror of https://github.com/bochs-emu/Bochs
- avoid using #define LOG_THIS...#undef LOG_THIS trick, and just
call panic directly. This solves bug [ #464258 ] LOG_THIS redefined in keyboard.h
This commit is contained in:
parent
382270fcb4
commit
140a7a23b8
|
@ -140,9 +140,7 @@ private:
|
|||
break;
|
||||
|
||||
default:
|
||||
#define LOG_THIS bx_keyboard.
|
||||
BX_PANIC(("mouse: invalid resolution_cpmm"));
|
||||
#undef LOG_THIS
|
||||
bx_keyboard.panic("mouse: invalid resolution_cpmm");
|
||||
};
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue