[DivaMovie] Option to disable PRINT
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user