mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user