- changed #ifdefs to #ifs. Even when the new PIT is unused, there will

still be a definition of BX_USE_NEW_PIT=0 in config.h.
This commit is contained in:
Bryce Denney 2001-08-15 20:23:58 +00:00
parent eb6a85629e
commit 06a7658f88
4 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@
#include "bochs.h"
#ifndef BX_USE_NEW_PIT
#if (BX_USE_NEW_PIT==0)
#define LOG_THIS bx_pit.
@ -861,4 +861,4 @@ bx_pit_c::periodic( Bit32u usec_delta )
return(0);
}
#endif // #ifndef BX_USE_NEW_PIT
#endif // #if (BX_USE_NEW_PIT==0)

View File

@ -25,7 +25,7 @@
#include "config.h"
#ifndef BX_USE_NEW_PIT
#if (BX_USE_NEW_PIT==0)
#if BX_USE_PIT_SMF
# define BX_PIT_SMF static
@ -96,5 +96,5 @@ private:
extern bx_pit_c bx_pit;
#endif // #ifndef BX_USE_NEW_PIT
#endif // #if (BX_USE_NEW_PIT==0)
#endif // #ifndef _BX_PIT_H

View File

@ -24,7 +24,7 @@
#include "bochs.h"
#ifdef BX_USE_NEW_PIT
#if BX_USE_NEW_PIT
#include "pit_wrap.h"
#define LOG_THIS bx_pit.
@ -259,4 +259,4 @@ bx_pit_c::periodic( Bit32u usec_delta )
return(want_interrupt);
}
#endif // #ifdef BX_USE_NEW_PIT
#endif // #if BX_USE_NEW_PIT

View File

@ -25,7 +25,7 @@
#include "bochs.h"
#ifdef BX_USE_NEW_PIT
#if BX_USE_NEW_PIT
#include "pit82c54.h"
@ -78,5 +78,5 @@ private:
extern bx_pit_c bx_pit;
#endif // #ifdef BX_USE_NEW_PIT
#endif // #if BX_USE_NEW_PIT
#endif // #ifndef _BX_PIT_WRAP_H