Make all include paths relative to a root directory:

* Better include path support in the VSProject scons tool.
* Various manual fixes to include paths.
This commit is contained in:
Vinnie Falco
2014-05-29 11:59:36 -07:00
parent d9755d33d0
commit ce8f56727e
261 changed files with 918 additions and 913 deletions

View File

@@ -21,12 +21,10 @@
*/
//==============================================================================
#include "../RecursiveMutex.h"
#include <beast/threads/RecursiveMutex.h>
#if BEAST_WINDOWS
#include "../StaticAssert.h"
#include <Windows.h>
#undef check
#undef direct
@@ -39,11 +37,7 @@ namespace beast {
RecursiveMutex::RecursiveMutex()
{
// (just to check the MS haven't changed this structure and broken things...)
#if BEAST_VC7_OR_EARLIER
static_bassert (sizeof (CRITICAL_SECTION) <= 24);
#else
static_bassert (sizeof (CRITICAL_SECTION) <= sizeof (section));
#endif
static_assert (sizeof (CRITICAL_SECTION) <= sizeof (section), "");
InitializeCriticalSection ((CRITICAL_SECTION*) section);
}