mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up includes and add modules to the classic build:
An alternative to the unity build, the classic build compiles each translation unit individually. This adds more modules to the classic build: * Remove unity header app.h * Add missing includes as needed * Remove obsolete NodeStore backend code * Add app/, core/, crypto/, json/, net/, overlay/, peerfinder/ to classic build
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifdef BEAST_WIN32
|
||||
#include <BeastConfig.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <cstdint>
|
||||
#include <Winsock2.h>
|
||||
// <Winsock2.h> defines min, max and does other stupid things
|
||||
# ifdef max
|
||||
@@ -30,7 +33,7 @@
|
||||
|
||||
namespace ripple {
|
||||
|
||||
#if BEAST_WIN32
|
||||
#if _MSC_VER
|
||||
|
||||
// from: http://stackoverflow.com/questions/3022552/is-there-any-standard-htonl-like-function-for-64-bits-integers-in-c
|
||||
// but we don't need to check the endianness
|
||||
|
||||
Reference in New Issue
Block a user