summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index 65740d5a5d..c6db415a88 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -24,7 +24,6 @@
#include <sys/resource.h>
#include <unistd.h>
#include <fcntl.h>
-#include <locale.h>
#include <errno.h>
#ifdef VST_SUPPORT
@@ -606,20 +605,6 @@ ARDOUR::find_data_file (string name, string subdir)
return find_file (name, envvar, subdir);
}
-ARDOUR::LocaleGuard::LocaleGuard (const char* str)
-{
- old = strdup (setlocale (LC_NUMERIC, NULL));
- if (strcmp (old, str)) {
- setlocale (LC_NUMERIC, str);
- }
-}
-
-ARDOUR::LocaleGuard::~LocaleGuard ()
-{
- setlocale (LC_NUMERIC, old);
- free ((char*)old);
-}
-
void
ARDOUR::setup_fpu ()
{