| 1 | #ifndef OPENMSX_H |
| 2 | #define OPENMSX_H |
| 3 | |
| 4 | // don't just always include this, saves about 1 minute build time!! |
| 5 | #ifdef DEBUG |
| 6 | #include <iostream> |
| 7 | #endif |
| 8 | |
| 9 | /// Namespace of the openMSX emulation core. |
| 10 | /** openMSX: the MSX emulator that aims for perfection |
| 11 | * |
| 12 | * Copyrights: see AUTHORS file. |
| 13 | * License: GPL. |
| 14 | */ |
| 15 | namespace openmsx { |
| 16 | |
| 17 | #ifdef DEBUG |
| 18 | |
| 19 | #define PRT_DEBUG(mes) \ |
| 20 | do { \ |
| 21 | std::cout << mes << std::endl; \ |
| 22 | } while (0) |
| 23 | |
| 24 | #else |
| 25 | |
| 26 | #define PRT_DEBUG(mes) |
| 27 | |
| 28 | #endif |
| 29 | |
| 30 | } // namespace openmsx |
| 31 | |
| 32 | #endif // OPENMSX_H |