diff options
Diffstat (limited to 'ACE/tests/Bug_2980_Regression_Test.cpp')
-rw-r--r-- | ACE/tests/Bug_2980_Regression_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/Bug_2980_Regression_Test.cpp b/ACE/tests/Bug_2980_Regression_Test.cpp index 90beef77103..0cc4f5934a8 100644 --- a/ACE/tests/Bug_2980_Regression_Test.cpp +++ b/ACE/tests/Bug_2980_Regression_Test.cpp @@ -8,7 +8,7 @@ // platform-specific ones. Luckily, it is only Windows where this // test has not been made to work yet ... -#if !defined (WIN32) +#if !(defined (WIN32) || defined (VXWORKS)) #include <dlfcn.h> #include <pthread.h> @@ -85,12 +85,12 @@ void * loadunloadDll(void *pp) return 0; } -#endif /* !defined (ACE_WIN32) */ +#endif /* !(defined (WIN32) || defined (VXWORKS)) */ int main(int, char **) { -#if defined (WIN32) +#if (defined (WIN32) || defined (VXWORKS)) printf ("Terminating because this test has not been designed " "to run on platforms where WIN32 has been defined.\n"); @@ -132,7 +132,7 @@ int main(int, char **) printf ("main - leaving\n"); -#endif /* defined (ACE_WIN32) */ +#endif /* (defined (WIN32) || defined (VXWORKS)) */ return 0; } |