diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-04-21 20:06:47 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-04-21 20:06:47 +0200 |
commit | 24af9d6e598956d6fae1f3ed806dea1c3f5cfe48 (patch) | |
tree | 7371a864f259655d715f2d456e5d8c5a183a2416 /vespalib | |
parent | 037816b9203d7e0ba271dfc7ceace1f7af7633b6 (diff) |
Use extended locale support on non-linux platforms.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/locale/locale.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/locale/locale.h b/vespalib/src/vespa/vespalib/locale/locale.h index ee2bbe54af3..ed3ca560630 100644 --- a/vespalib/src/vespa/vespalib/locale/locale.h +++ b/vespalib/src/vespa/vespalib/locale/locale.h @@ -3,6 +3,9 @@ #pragma once #include <clocale> +#ifndef __linux__ +#include <xlocale.h> +#endif namespace vespalib::locale { |