summaryrefslogtreecommitdiff
path: root/include/utils/Singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/Singleton.h')
-rw-r--r--include/utils/Singleton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h
index a42ce210dd..8f0450314d 100644
--- a/include/utils/Singleton.h
+++ b/include/utils/Singleton.h
@@ -64,10 +64,10 @@ private:
* for some unknown reason using the default ctor doesn't emit the variable!
*/
-#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
- template class Singleton< TYPE >; \
- template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
- template<> TYPE* Singleton< TYPE >::sInstance(0);
+#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
+ template class ANDROID_API Singleton< TYPE >; \
+ template<> ANDROID_API Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
+ template<> ANDROID_API TYPE* Singleton< TYPE >::sInstance(0);
// ---------------------------------------------------------------------------