History

Add Windows 64-bit build to VS project files

licaiguo committed 12 years ago

Commit 077ffed1 parent ac6828f73 files · +7126 −219Browse files

Showing the changes to codec/decoder/plus/src/welsCodecTrace.cpp (1 of 73 files). Show all

Unified · Split

codec/decoder/plus/src/welsCodecTrace.cpp+6−6
@@ -30,7 +30,7 @@ · 29 unmodified lines
30 *30 *
31 */31 */
32 32
33#ifdef WIN3233#ifdef _WIN32
34#include <windows.h>34#include <windows.h>
35#include <tchar.h>35#include <tchar.h>
36#endif36#endif
@@ -180,7 +180,7 @@ int32_t CWelsTraceFile::WriteString (int32_t iLevel, const str_t* pStr) { · 143 unmodified lines
180}180}
181 181
182 182
183#ifdef WIN32183#ifdef _WIN32
184 184
185int32_t CWelsTraceWinDgb::WriteString (int32_t iLevel, const str_t* pStr) {185int32_t CWelsTraceWinDgb::WriteString (int32_t iLevel, const str_t* pStr) {
186 OutputDebugStringA (pStr);186 OutputDebugStringA (pStr);
@@ -211,7 +211,7 @@ int32_t CWelsCodecTrace::LoadWelsTraceModule() { · 24 unmodified lines
211 m_fpWarnTrace = welsStderrTrace<WELS_LOG_WARNING>;211 m_fpWarnTrace = welsStderrTrace<WELS_LOG_WARNING>;
212 m_fpErrorTrace = welsStderrTrace<WELS_LOG_ERROR>;212 m_fpErrorTrace = welsStderrTrace<WELS_LOG_ERROR>;
213#else213#else
214#if defined WIN32214#if defined _WIN32
215 HMODULE hHandle = ::LoadLibrary ("welstrace.dll");215 HMODULE hHandle = ::LoadLibrary ("welstrace.dll");
216// HMODULE handle = ::LoadLibrary("contrace.dll"); // for c7 trace216// HMODULE handle = ::LoadLibrary("contrace.dll"); // for c7 trace
217 if (NULL == hHandle)217 if (NULL == hHandle)
@@ -293,7 +293,7 @@ int32_t CWelsCodecTrace::LoadWelsTraceModule() { · 75 unmodified lines
293}293}
294 294
295int32_t CWelsCodecTrace::UnloadWelsTraceModule() {295int32_t CWelsCodecTrace::UnloadWelsTraceModule() {
296#if defined WIN32296#if defined _WIN32
297 if (m_hTraceHandle) {297 if (m_hTraceHandle) {
298 ::FreeLibrary ((HMODULE)m_hTraceHandle);298 ::FreeLibrary ((HMODULE)m_hTraceHandle);
299 }299 }
@@ -320,7 +320,7 @@ int32_t CWelsCodecTrace::WriteString (int32_t iLevel, const str_t* pStr) { · 20 unmodified lines
320 if (m_hTraceHandle)320 if (m_hTraceHandle)
321#endif321#endif
322 {322 {
323#ifdef WIN32323#ifdef _WIN32
324 switch (iLevel) {324 switch (iLevel) {
325 case WELS_LOG_ERROR:325 case WELS_LOG_ERROR:
326 if (m_fpErrorTrace)326 if (m_fpErrorTrace)
@@ -382,7 +382,7 @@ IWelsTrace* CreateWelsTrace (EWelsTraceType eType, void_t* pParam) { · 55 unmodified lines
382 case Wels_Trace_Type_File:382 case Wels_Trace_Type_File:
383 pTrace = new CWelsTraceFile();383 pTrace = new CWelsTraceFile();
384 break;384 break;
385#ifdef WIN32385#ifdef _WIN32
386 case Wels_Trace_Type_WinDgb:386 case Wels_Trace_Type_WinDgb:
387 pTrace = new CWelsTraceWinDgb();387 pTrace = new CWelsTraceWinDgb();
388 break;388 break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t