summaryrefslogtreecommitdiff
path: root/ace/OS_NS_sys_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_sys_resource.h')
-rw-r--r--ace/OS_NS_sys_resource.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/OS_NS_sys_resource.h b/ace/OS_NS_sys_resource.h
index 54dcf186ef9..7841f7d9c52 100644
--- a/ace/OS_NS_sys_resource.h
+++ b/ace/OS_NS_sys_resource.h
@@ -26,16 +26,25 @@
# endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/os_include/sys/os_resource.h"
+#include "ace/ACE_export.h"
+
+#if defined (ACE_EXPORT_MACRO)
+# undef ACE_EXPORT_MACRO
+#endif
+#define ACE_EXPORT_MACRO ACE_Export
namespace ACE_OS {
+ ACE_NAMESPACE_INLINE_FUNCTION
int getrlimit (int resource,
struct rlimit *rl);
+ ACE_NAMESPACE_INLINE_FUNCTION
int getrusage (int who,
struct rusage *rusage);
+ ACE_NAMESPACE_INLINE_FUNCTION
int setrlimit (int resource,
ACE_SETRLIMIT_TYPE *rl);