diff --git a/unittest/TriangleTest.cpp b/unittest/TriangleTest.cpp index 91e4bda..28c9ee8 100644 --- a/unittest/TriangleTest.cpp +++ b/unittest/TriangleTest.cpp @@ -1,4 +1,4 @@ -#ifndef WIN32 +#if !defined(_WIN32) && !defined(BOOST_TEST_DYN_LINK) #define BOOST_TEST_DYN_LINK #endif #include diff --git a/unittest/main.cpp b/unittest/main.cpp index 9246533..14ad9c3 100644 --- a/unittest/main.cpp +++ b/unittest/main.cpp @@ -1,4 +1,4 @@ -#ifndef WIN32 +#if !defined(_WIN32) && !defined(BOOST_TEST_DYN_LINK) #define BOOST_TEST_DYN_LINK #endif #define BOOST_TEST_MODULE Poly2triTest