diff options
Diffstat (limited to 'dep/ACE_wrappers/ace/SStringfwd.h')
-rw-r--r-- | dep/ACE_wrappers/ace/SStringfwd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/SStringfwd.h b/dep/ACE_wrappers/ace/SStringfwd.h index 781deaa6cfd..f73a39d023b 100644 --- a/dep/ACE_wrappers/ace/SStringfwd.h +++ b/dep/ACE_wrappers/ace/SStringfwd.h @@ -1,4 +1,5 @@ // -*- C++ -*- + //============================================================================= /** * @file SStringfwd.h @@ -12,23 +13,33 @@ * @author Ossama Othman <ossama@uci.edu> */ //============================================================================= + #ifndef ACE_SSTRINGFWD_H #define ACE_SSTRINGFWD_H + #include /**/ "ace/pre.h" + #include "ace/Basic_Types.h" /* ACE_WCHAR_T definition */ + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ + #if (defined (__HP_aCC) && (36300 <= __HP_aCC) && (__HP_aCC <= 37300)) // Due to a bug in the aCC 3.xx compiler need to define the ACE_String_Base // template before we can typedef ACE_CString # include "ace/String_Base.h" #endif /* __HP_aCC */ + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + template <class CHAR> class ACE_String_Base; // Forward declaration. + typedef ACE_WCHAR_T ACE_WSTRING_TYPE; + typedef ACE_String_Base<char> ACE_CString; typedef ACE_String_Base<ACE_WSTRING_TYPE> ACE_WString; + // This allows one to use W or C String based on the Unicode // setting #if defined (ACE_USES_WCHAR) @@ -36,7 +47,10 @@ typedef ACE_WString ACE_TString; #else /* ACE_USES_WCHAR */ typedef ACE_CString ACE_TString; #endif /* ACE_USES_WCHAR */ + ACE_END_VERSIONED_NAMESPACE_DECL + #include /**/ "ace/post.h" + #endif /* ACE_SSTRINGFWD_H */ |