summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 60511620ae3..db45cf6e7d9 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -6827,7 +6827,7 @@ ACE_INLINE struct passwd *
ACE_OS::getpwnam_r (const char *name, struct passwd *pwent,
char *buffer, int buflen)
{
-#if defined (ACE_HAS_PACE) || defined (_POSIX_C_SOURCE)
+#if defined (ACE_HAS_PACE) || defined (ACE_HAS_POSIX_GETPWNAM_R)
struct passwd *result;
int status;