[DivaMovie] Option to disable PRINT

This commit is contained in:
nastys
2019-11-16 02:25:47 +01:00
parent 2d18f57675
commit 548ea4fe66
2 changed files with 4 additions and 6 deletions
@@ -22,11 +22,7 @@ std::wstring DirPath() {
std::wstring CONFIG_FILE_STRING = DirPath() + L"\\plugins\\DivaMovie.ini";
LPCWSTR CONFIG_FILE = CONFIG_FILE_STRING.c_str();
//#if _DEBUG
#define PRINT(value, ...) printf(value, __VA_ARGS__);
//#else
//#define PRINT(value, ...)
//#endif
#define PRINT(value, ...) if (debug) printf(value, __VA_ARGS__);
#define PROC_ADDRESS(libraryName, procName) \
GetProcAddress(LoadLibrary(TEXT(libraryName)), procName)