diff --git a/src/kernel/boot/platform/bios_ia32/serial.cpp b/src/kernel/boot/platform/bios_ia32/serial.cpp index 6faaae2dd5..c56897c009 100644 --- a/src/kernel/boot/platform/bios_ia32/serial.cpp +++ b/src/kernel/boot/platform/bios_ia32/serial.cpp @@ -1,7 +1,7 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include "serial.h" @@ -13,6 +13,10 @@ #include +//#define ENABLE_SERIAL + // define this to always enable serial output + + enum serial_register_offsets { SERIAL_TRANSMIT_BUFFER = 0, SERIAL_RECEIVE_BUFFER = 0, @@ -65,7 +69,7 @@ serial_puts(const char *string, size_t size) extern "C" void serial_disable(void) { -#if ENABLE_SERIAL +#ifdef ENABLE_SERIAL sSerialEnabled = 0; #else sSerialEnabled--;