mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 16:30:23 +00:00
13 lines
295 B
C
13 lines
295 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 void LogOutput(LPCTSTR format, ...);
|
|
extern void LogFileOutput(LPCTSTR format, ...);
|