diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-07-10 09:21:39 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-07-10 09:21:39 +0000 |
commit | dccc078b1efca19ed23badb9f22848e1ba3e78ca (patch) | |
tree | b8e6d056111cf62be1680f8c170c7efaa491da69 /ACE/ace/Time_Value.h | |
parent | 06d94f39275c286191aa90371c92690a7e27bb7a (diff) | |
download | ATCD-dccc078b1efca19ed23badb9f22848e1ba3e78ca.tar.gz |
Fri Jul 10 09:20:57 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Time_Value.{h,cpp,inl}:
Removed workarounds for old eVC, the extern causes major
problems when trying to compile ACE in release mode for a
Windows CE x86 target
Diffstat (limited to 'ACE/ace/Time_Value.h')
-rw-r--r-- | ACE/ace/Time_Value.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h index 0836d3b10f5..eb8bf13492d 100644 --- a/ACE/ace/Time_Value.h +++ b/ACE/ace/Time_Value.h @@ -41,6 +41,9 @@ ACE_END_VERSIONED_NAMESPACE_DECL // ------------------------------------------------------------------- +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + /** * @class ACE_Time_Value * @@ -51,18 +54,6 @@ ACE_END_VERSIONED_NAMESPACE_DECL * ACE. These time values are typically used in conjunction with OS * mechanisms like <select>, <poll>, or <cond_timedwait>. */ -#if defined (ACE_WIN32) && defined (_WIN32_WCE) -// Something is a bit brain-damaged here and I'm not sure what... this code -// compiled before the OS reorg for ACE 5.4. Since then it hasn't - eVC -// complains that the operators that return ACE_Time_Value are C-linkage -// functions that can't return a C++ class. The only way I've found to -// defeat this is to wrap the whole class in extern "C++". -// - Steve Huston, 23-Aug-2004 -extern "C++" { -#endif - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - class ACE_Export ACE_Time_Value { public: @@ -361,10 +352,6 @@ ACE_END_VERSIONED_NAMESPACE_DECL #include "ace/Time_Value.inl" #endif /* __ACE_INLINE__ */ -#if defined (ACE_WIN32) && defined (_WIN32_WCE) -} -#endif - #if defined (__MINGW32__) ACE_BEGIN_VERSIONED_NAMESPACE_DECL // The MingW linker has problems with the exported statics |