diff --git a/src/kits/locale/CatalogStub.cpp b/src/kits/locale/CatalogStub.cpp index 0e07bbc551..d719562533 100644 --- a/src/kits/locale/CatalogStub.cpp +++ b/src/kits/locale/CatalogStub.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2010-2014, Adrien Destugues . + * Copyright 2010-2016, Adrien Destugues . * Distributed under the terms of the MIT License. */ @@ -10,13 +10,14 @@ #include -static BCatalog sCatalog; static int32 sCatalogInitOnce = INIT_ONCE_UNINITIALIZED; BCatalog* BLocaleRoster::GetCatalog() { + static BCatalog sCatalog; + #if (__GNUC__ < 3) asm volatile(".hidden GetCatalog__13BLocaleRoster"); #else