Make UEFI boot-platform build again
[haiku.git] / headers / private / libroot / locale / ICUThreadLocalStorageValue.h
blob3006a45a10d77f8b8ffd9a34eba7d621280bcf55
1 /*
2 * Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _ICU_THREAD_LOCAL_STORAGE_VALUE_H
6 #define _ICU_THREAD_LOCAL_STORAGE_VALUE_H
9 #include <pthread.h>
11 #include <unicode/ucnv.h>
13 #include <SupportDefs.h>
16 namespace BPrivate {
17 namespace Libroot {
20 struct ICUThreadLocalStorageValue {
21 UConverter* converter;
22 char charset[64];
24 ICUThreadLocalStorageValue();
25 ~ICUThreadLocalStorageValue();
27 static status_t GetInstanceForKey(pthread_key_t tlsKey,
28 ICUThreadLocalStorageValue*& instanceOut);
32 } // namespace Libroot
33 } // namespace BPrivate
36 #endif // _ICU_THREAD_LOCAL_STORAGE_VALUE_H