1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 08:30:06 +02:00

Fix MSVC Build

SIGTRAP is not defined for MSVC.
This commit is contained in:
James Crook 2018-01-07 14:16:56 +00:00
parent 499c6b4f36
commit f57fdc99d7

View File

@ -29,7 +29,7 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
// Marks strings for extraction only...must use wxGetTranslation() to translate.
#define XO(s) wxT(s)
#ifdef __WXDEBUG__
#if defined( __WXDEBUG__ ) && !defined( _MSC_VER )
#include <signal.h>
// Force a crash if you misuse _ in a static initializer, so that translation
// is looked up too early and not found.