diff options
Diffstat (limited to 'TAO/tests')
-rw-r--r-- | TAO/tests/Bug_3315_Regression/main.cpp | 3 | ||||
-rw-r--r-- | TAO/tests/Bug_3321_Regression/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3315_Regression/main.cpp b/TAO/tests/Bug_3315_Regression/main.cpp index 5618cae3f7c..5c4abe02ce0 100644 --- a/TAO/tests/Bug_3315_Regression/main.cpp +++ b/TAO/tests/Bug_3315_Regression/main.cpp @@ -7,6 +7,9 @@ int result = 0; +#if defined (__SUNPRO_CC) +extern "C" +#endif /* __SUNPRO_CC */ ACE_THR_FUNC_RETURN main_orb(void*) { try diff --git a/TAO/tests/Bug_3321_Regression/main.cpp b/TAO/tests/Bug_3321_Regression/main.cpp index 434353f2263..f52f393db3e 100644 --- a/TAO/tests/Bug_3321_Regression/main.cpp +++ b/TAO/tests/Bug_3321_Regression/main.cpp @@ -13,6 +13,9 @@ int result = 0; +#if defined (__SUNPRO_CC) +extern "C" +#endif /* __SUNPRO_CC */ ACE_THR_FUNC_RETURN main_orb(void*) { try |