git @ Cat's Eye Technologies linapple / do-not-copy-assets-to-userdir inc / Log.h
do-not-copy-assets-to-userdir

Tree @do-not-copy-assets-to-userdir (Download .tar.gz)

Log.h @do-not-copy-assets-to-userdirraw · history · blame

#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, ...);