mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-05 06:06:24 +00:00
c457241229
. When in MODE_LOGO, don't pass WM_CHAR to Apple II keyboard (now consistent with WM_KEYDOWN) . Small refactor for Apple II keyboard's WM_KEYDOWN handler Move code for log init & done to Log.cpp
17 lines
372 B
C
17 lines
372 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
|
|
|
|
void LogInit(void);
|
|
void LogDone(void);
|
|
void LogOutput(LPCTSTR format, ...);
|
|
void LogFileOutput(LPCTSTR format, ...);
|