diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-03-09 11:00:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 11:00:35 +0100 |
commit | 1879d43292c0aa0fa023e287b0dd0c4f59a6eb05 (patch) | |
tree | 54d202bdc6b2376264ae2d3f7cff2625da79a62b | |
parent | 9a85cdb867080dabf39fa7f8388ef7afa6d6eee1 (diff) | |
parent | 8ebc1623b063e89a2e3e3b225af7c54dc2c5de2f (diff) | |
download | ATCD-1879d43292c0aa0fa023e287b0dd0c4f59a6eb05.tar.gz |
Merge pull request #591 from jwillemsen/jwi-comp38
Check if __GNUC__ is defined and only log that C++ support is ok when…
-rw-r--r-- | ACE/tests/Compiler_Features_38_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Compiler_Features_38_Test.cpp b/ACE/tests/Compiler_Features_38_Test.cpp index 83733394013..31a02190573 100644 --- a/ACE/tests/Compiler_Features_38_Test.cpp +++ b/ACE/tests/Compiler_Features_38_Test.cpp @@ -6,7 +6,7 @@ #include "test_config.h" // g++ 4.1 can't handle this construct -#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 1)) +#if defined (__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 1)) # define ACE_DISABLE_TEST #endif @@ -44,10 +44,10 @@ run_main (int, ACE_TCHAR *[]) Foo2Seq f2; long const j = f2[0].i; ACE_UNUSED_ARG(j); -#endif /* !ACE_DISABLE_TEST */ ACE_DEBUG ((LM_INFO, ACE_TEXT ("C++ support ok\n"))); +#endif /* !ACE_DISABLE_TEST */ ACE_END_TEST; |