summaryrefslogtreecommitdiff
path: root/ace/Get_Opt.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-28 11:22:11 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-28 11:22:11 +0000
commit205eeb1551e1aad1cfa9c57c2ae6c84586da30fd (patch)
tree8b999f4375fad95b22c0cb8f5435dc143534acbb /ace/Get_Opt.cpp
parent9b9bad6369a22249f7d1bf35adcd14bb81ff8d7d (diff)
downloadATCD-205eeb1551e1aad1cfa9c57c2ae6c84586da30fd.tar.gz
ChangeLogTag:Fri Dec 28 05:20:29 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Get_Opt.cpp')
-rw-r--r--ace/Get_Opt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Get_Opt.cpp b/ace/Get_Opt.cpp
index 062736e52b7..b9c9c29aa59 100644
--- a/ace/Get_Opt.cpp
+++ b/ace/Get_Opt.cpp
@@ -104,9 +104,11 @@ ACE_Get_Opt::ACE_Get_Opt (int argc,
{
ACE_TRACE ("ACE_Get_Opt::ACE_Get_Opt");
+#if !defined (ACE_LACKS_GETENV)
// First check to see if POSIXLY_CORRECT was set.
- if (ACE_OS::getenv (ACE_TEXT("POSIXLY_CORRECT")))
+ if (ACE_OS::getenv (ACE_TEXT ("POSIXLY_CORRECT")))
this->ordering_ = REQUIRE_ORDER;
+#endif /* ACE_LACKS_GETENV */
// Now, check to see if any or the following were passed at
// the begining of optstring: '+' same as POSIXLY_CORRECT;