summaryrefslogtreecommitdiff
path: root/ace/OS_NS_sys_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_sys_stat.h')
-rw-r--r--ace/OS_NS_sys_stat.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/OS_NS_sys_stat.h b/ace/OS_NS_sys_stat.h
index fbb7312cb78..dfae190203e 100644
--- a/ace/OS_NS_sys_stat.h
+++ b/ace/OS_NS_sys_stat.h
@@ -34,13 +34,16 @@
#endif
#define ACE_EXPORT_MACRO ACE_Export
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
# if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE) && !defined (__BORLANDC__) && !defined(__IBMCPP__)
typedef struct _stat ACE_stat;
# else
typedef struct stat ACE_stat;
# endif /* ACE_WIN32 */
-namespace ACE_OS {
+namespace ACE_OS
+{
ACE_NAMESPACE_INLINE_FUNCTION
ACE_HANDLE creat (const ACE_TCHAR *filename,
@@ -50,11 +53,10 @@ namespace ACE_OS {
// non-standard
ACE_NAMESPACE_INLINE_FUNCTION
- long filesize (ACE_HANDLE handle);
+ off_t filesize (ACE_HANDLE handle);
ACE_NAMESPACE_INLINE_FUNCTION
- long filesize (const ACE_TCHAR *handle);
-
+ off_t filesize (const ACE_TCHAR *handle);
//@}
@@ -93,6 +95,8 @@ namespace ACE_OS {
} /* namespace ACE_OS */
+ACE_END_VERSIONED_NAMESPACE_DECL
+
# if defined (ACE_HAS_INLINED_OSCALLS)
# if defined (ACE_INLINE)
# undef ACE_INLINE