janwas
04127c7af3
- topology.cpp: modify interface due to thread-safety issue. caller is now responsible for ensuring the first _Detect call isn't reentered; everything else is safe. - fix thread-safety issue in wnuma; use winit mechanism to ensure it's ready before use - VFS now takes a cacheSize parameter (required for being able to disable read-only file caches for the image loader at work) - allow dynarray that isn't actually holding memory - debug_stl: VC9 fix (disable this code except on the exact STL version on which it was tested) - zlib, lib_api: changes to macro used to toggle between static and dynamic linking - add boost filesystem header in external_libraries - amd64: cpu_ topology functions are now provided by x86_x64 - cpu: remove cpu_ClockFrequency (dangerous, may be tempting to use during WHRT init which would cause a crash). use x86_x64_ClockFrequency or os_cpu_ClockFrequency instead. - werrno: cope with newer boost versions - wmman: follow SUSv3 in rejecting zero-length mappings This was SVN commit r5954.
27 lines
630 B
C++
27 lines
630 B
C++
/**
|
|
* =========================================================================
|
|
* File : boost_filesystem.h
|
|
* Project : 0 A.D.
|
|
* Description : bring in Boost filesystem library
|
|
* =========================================================================
|
|
*/
|
|
|
|
// license: GPL; see lib/license.txt
|
|
|
|
#ifndef INCLUDED_BOOST_FILESYSTEM
|
|
#define INCLUDED_BOOST_FILESYSTEM
|
|
|
|
// not W4-clean
|
|
#if MSC_VERSION
|
|
# pragma warning(push, 3)
|
|
#endif
|
|
|
|
#include "boost/filesystem.hpp"
|
|
namespace fs = boost::filesystem;
|
|
|
|
#if MSC_VERSION
|
|
# pragma warning(pop)
|
|
#endif
|
|
|
|
#endif // #ifndef INCLUDED_BOOST_FILESYSTEM
|