summaryrefslogtreecommitdiff
path: root/glib/glibmm/ustring.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glibmm/ustring.h')
-rw-r--r--glib/glibmm/ustring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index 3c090796..ccbe0999 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -233,11 +233,11 @@ public:
#endif /* GLIBMM_HAVE_SUN_REVERSE_ITERATOR */
#ifdef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS
- static const size_type npos = std::string::npos;
+ static GLIBMM_API const size_type npos = std::string::npos;
#else
//The IRIX MipsPro compiler says "The indicated constant value is not known",
//so we need to initalize the static member data elsewhere.
- static const size_type npos;
+ static GLIBMM_API const size_type npos;
#endif
/*! Default constructor, which creates an empty string.