mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
a78f1e04da
. Support TX IRQ for both TCP and COM modes (fixes #522) . Support CTS/RTS (fixes #311) . Fixed reading DIPSW registers . Fixed TCP mode which was only generating an IRQ for first byte received . Added UpdateCommandReg() to consolidate all updates to SSC command reg . Updated reference URLs
15 lines
344 B
C
15 lines
344 B
C
#pragma once
|
|
|
|
#ifndef _VC71 // __VA_ARGS__ not supported on MSVC++ .NET 7.x
|
|
#ifdef _DEBUG
|
|
#define LOG(format, ...) LogOutput(format, __VA_ARGS__)
|
|
#else
|
|
#define LOG(...)
|
|
#endif
|
|
#endif
|
|
|
|
extern FILE* g_fh; // Filehandle for log file
|
|
|
|
extern void LogOutput(LPCTSTR format, ...);
|
|
extern void LogFileOutput(LPCTSTR format, ...);
|