summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_netlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index fb0d13f27b..301ba8ace3 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -784,9 +784,9 @@ static INT_PTR Netlib_Logf(HANDLE hUser, const char *fmt, ...)
__except(EXCEPTION_EXECUTE_HANDLER) {}
return 0;
}
- #define Netlib_LogfW Netlib_LogfT
+ #define Netlib_LogfT Netlib_LogfW
#else
- #define Netlib_LogfW Netlib_Logf
+ #define Netlib_LogfT Netlib_Logf
#endif
#endif //defined va_start
@@ -797,9 +797,9 @@ static INT_PTR Netlib_Logf(HANDLE hUser, const char *fmt, ...)
#define NNR_UNICODE 1
#ifdef UNICODE
-#define NNR_TCHAR 1
+ #define NNR_TCHAR NNR_UNICODE
#else
-#define NNR_TCHAR 0
+ #define NNR_TCHAR 0
#endif
// Inits a required security provider. Right now only NTLM is supported