diff options
author | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-28 03:50:28 +0000 |
---|---|---|
committer | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-28 03:50:28 +0000 |
commit | 88556d568eb0a06bf8af2ddefacbc1ad5f00401e (patch) | |
tree | 72f4a0e33b9dd26d1783ff005d67494bfb79a9de /ace/ACE.cpp | |
parent | 317d8c1ce78436f0107f056418c0c5f5b4231069 (diff) | |
download | ATCD-88556d568eb0a06bf8af2ddefacbc1ad5f00401e.tar.gz |
4_27_06 branch merge in and compile error fixedoci_dave_wchar_refactor_branch
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r-- | ace/ACE.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index af89390c667..4548d7596bd 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -164,7 +164,8 @@ ACE::compiler_beta_version (void) char ACE::debug (void) { - return ACE::debug_; + static const char* debug = ACE_OS::getenv ("ACE_DEBUG"); + return ACE::debug_ != 0 ? ACE::debug_ : (debug != 0 ? (*debug - '0'): 0); } void |