From 73353437ced7086dd5e91810bedf948b06f5e489 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sat, 12 Oct 2013 03:00:04 +0000 Subject: Another Solaris Studio C++ fix. svn path=/trunk/; revision=52561 --- wsutil/str_util.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'wsutil/str_util.h') diff --git a/wsutil/str_util.h b/wsutil/str_util.h index f14c8a26e0..505bb9088d 100644 --- a/wsutil/str_util.h +++ b/wsutil/str_util.h @@ -94,11 +94,6 @@ typedef enum { /* XXX format_size_prefix_default_for_this_particular_os ? */ } format_size_flags_e; -#ifdef __cplusplus -/* Should we just have separate unit and prefix enums instead? */ -extern format_size_flags_e operator|(format_size_flags_e lhs, format_size_flags_e rhs); -#endif /* __cplusplus */ - /** Given a size, return its value in a human-readable format * * Prefixes up to "T/Ti" (tera, tebi) are currently supported. @@ -114,6 +109,9 @@ gchar *format_size(gint64 size, format_size_flags_e flags); #ifdef __cplusplus } + +/* Should we just have separate unit and prefix enums instead? */ +extern format_size_flags_e operator|(format_size_flags_e lhs, format_size_flags_e rhs); #endif /* __cplusplus */ #endif /* __STR_UTIL_H__ */ -- cgit v1.2.1