From aca5cd7fff158c03a13095ec8b9f812dc1a983d6 Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Fri, 29 Apr 2011 07:52:00 +0000 Subject: [PATCH] Use _TCHAR in place of wchar_t for VersionName --- lib-src/mod-null/ModNullCallback.cpp | 2 +- lib-src/mod-nyq-bench/NyqBench.cpp | 2 +- lib-src/mod-script-pipe/ScripterCallback.cpp | 3 ++- lib-src/mod-track-panel/ModTrackPanelCallback.cpp | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib-src/mod-null/ModNullCallback.cpp b/lib-src/mod-null/ModNullCallback.cpp index 341e3ffe4..a5f0d0db9 100644 --- a/lib-src/mod-null/ModNullCallback.cpp +++ b/lib-src/mod-null/ModNullCallback.cpp @@ -108,7 +108,7 @@ extern "C" { // GetVersionString // REQUIRED for the module to be accepted by Audacity. // Without it Audacity will see a version number mismatch. -MOD_NULL_DLL_API wchar_t * GetVersionString() +MOD_NULL_DLL_API _TCHAR * GetVersionString() { // Make sure that this version of the module requires the version // of Audacity it is built with. diff --git a/lib-src/mod-nyq-bench/NyqBench.cpp b/lib-src/mod-nyq-bench/NyqBench.cpp index 33ca243bc..405a82d72 100644 --- a/lib-src/mod-nyq-bench/NyqBench.cpp +++ b/lib-src/mod-nyq-bench/NyqBench.cpp @@ -114,7 +114,7 @@ extern "C" #define DLL_API __attribute__ ((visibility("default"))) #endif - extern DLL_API wchar_t * GetVersionString(); + extern DLL_API _TCHAR * GetVersionString(); // GetVersionString // REQUIRED for the module to be accepted by Audacity. // Without it Audacity will see a version number mismatch. diff --git a/lib-src/mod-script-pipe/ScripterCallback.cpp b/lib-src/mod-script-pipe/ScripterCallback.cpp index 94b591349..74ac85be5 100644 --- a/lib-src/mod-script-pipe/ScripterCallback.cpp +++ b/lib-src/mod-script-pipe/ScripterCallback.cpp @@ -62,7 +62,8 @@ static tpExecScriptServerFunc pScriptServerFn=NULL; extern "C" { -SCRIPT_PIPE_DLL_API wchar_t * GetVersionString() + +SCRIPT_PIPE_DLL_API _TCHAR * GetVersionString() { // Make sure that this version of the module requires the version // of Audacity it is built with. diff --git a/lib-src/mod-track-panel/ModTrackPanelCallback.cpp b/lib-src/mod-track-panel/ModTrackPanelCallback.cpp index 09f4bdcdb..79f45d202 100644 --- a/lib-src/mod-track-panel/ModTrackPanelCallback.cpp +++ b/lib-src/mod-track-panel/ModTrackPanelCallback.cpp @@ -134,7 +134,7 @@ extern "C" { // GetVersionString // REQUIRED for the module to be accepted by Audacity. // Without it Audacity will see a version number mismatch. -MOD_TRACK_PANEL_DLL_API wchar_t * GetVersionString() +MOD_TRACK_PANEL_DLL_API _TCHAR * GetVersionString() { // Make sure that this version of the module requires the version // of Audacity it is built with.