diff options
Diffstat (limited to 'qpid/cpp/src/tests/shlibtest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/shlibtest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/shlibtest.cpp b/qpid/cpp/src/tests/shlibtest.cpp index e485cc9397..5655eb7e64 100644 --- a/qpid/cpp/src/tests/shlibtest.cpp +++ b/qpid/cpp/src/tests/shlibtest.cpp @@ -18,6 +18,9 @@ * */ +namespace qpid { +namespace tests { + int* loaderData = 0; extern "C" #ifdef WIN32 @@ -28,5 +31,4 @@ void callMe(int *i) { loaderData=i; } struct OnUnload { ~OnUnload() { *loaderData=42; } }; OnUnload unloader; // For destructor. - - +}} // namespace qpid::tests |