1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-19 17:40:51 +02:00

Use _TCHAR in place of wchar_t for VersionName

This commit is contained in:
james.k.crook@gmail.com 2011-04-29 07:52:00 +00:00
parent 0998462eb2
commit aca5cd7fff
4 changed files with 5 additions and 4 deletions

View File

@ -108,7 +108,7 @@ extern "C" {
// GetVersionString // GetVersionString
// REQUIRED for the module to be accepted by Audacity. // REQUIRED for the module to be accepted by Audacity.
// Without it Audacity will see a version number mismatch. // 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 // Make sure that this version of the module requires the version
// of Audacity it is built with. // of Audacity it is built with.

View File

@ -114,7 +114,7 @@ extern "C"
#define DLL_API __attribute__ ((visibility("default"))) #define DLL_API __attribute__ ((visibility("default")))
#endif #endif
extern DLL_API wchar_t * GetVersionString(); extern DLL_API _TCHAR * GetVersionString();
// GetVersionString // GetVersionString
// REQUIRED for the module to be accepted by Audacity. // REQUIRED for the module to be accepted by Audacity.
// Without it Audacity will see a version number mismatch. // Without it Audacity will see a version number mismatch.

View File

@ -62,7 +62,8 @@ static tpExecScriptServerFunc pScriptServerFn=NULL;
extern "C" { 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 // Make sure that this version of the module requires the version
// of Audacity it is built with. // of Audacity it is built with.

View File

@ -134,7 +134,7 @@ extern "C" {
// GetVersionString // GetVersionString
// REQUIRED for the module to be accepted by Audacity. // REQUIRED for the module to be accepted by Audacity.
// Without it Audacity will see a version number mismatch. // 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 // Make sure that this version of the module requires the version
// of Audacity it is built with. // of Audacity it is built with.