diff --git a/test/Function/FunctionTest.cpp b/test/Function/FunctionTest.cpp index b69d92c..3f414d8 100755 --- a/test/Function/FunctionTest.cpp +++ b/test/Function/FunctionTest.cpp @@ -7,6 +7,8 @@ // For more information, see http://www.boost.org + + #include #include #include @@ -50,6 +52,9 @@ report_error( const char* msg, const char* file, int line, bool is_msg = false ) #endif +#ifndef LOKI_FUNCTORS_ARE_COMPARABLE + + using namespace std; int global_int; @@ -799,3 +804,11 @@ int main() return 0; } + + +#else // #ifndef LOKI_FUNCTORS_ARE_COMPARABLE +int main() +{ + return 0; +} +#endif