1
0
forked from 0ad/0ad
0ad/source/mocks/mocks_test.cpp
Ykkrosh 5c8861adf4 Remove redundant -L linker arguments on non-Windows.
Fix some compiler warnings.
Fix missing non-PCH headers.

This was SVN commit r7083.
2009-08-07 17:22:05 +00:00

23 lines
523 B
C++

#define CXXTEST_MOCK_TEST_SOURCE_FILE
// Pull in the common config headers from precompiled.h,
// but disable the actual precompiling (since we've only got
// one source file)
#ifdef USING_PCH
# undef USING_PCH
#endif
#include "lib/precompiled.h"
// Cause calls to be redirected to the real function by default
#define DEFAULT(name) static T::Real_##name real_##name
#include "mocks/boost_filesystem.h"
DEFAULT(Boost_Filesystem_initial_path);
#if OS_LINUX
#include "mocks/dlfcn.h"
DEFAULT(dladdr);
#endif // OS_LINUX