From 13ff8b1870dc82639e6eb09599a42513dfea9e15 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Thu, 28 Jun 2001 01:36:11 +0000 Subject: [PATCH] - use #undef to avoid name conflicts with OUT. OUT is the name of part of a pit structure, but is also defined in the system headers on some systems. --- bochs/iodev/pit82c54.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bochs/iodev/pit82c54.h b/bochs/iodev/pit82c54.h index 1b072ed22..f3d1cf0b6 100644 --- a/bochs/iodev/pit82c54.h +++ b/bochs/iodev/pit82c54.h @@ -8,6 +8,11 @@ #include "bochs.h" +#ifdef OUT +// OUT is defined in system headers on cygwin, maybe others. +# undef OUT +#endif + class pit_82C54 : public logfunctions { public: