Skip to content

Commit

Permalink
SERVER-1625 Corrected big endian test after master pull.
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Ola Ingvarsson committed Apr 28, 2012
1 parent 8497346 commit 199ffe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SConstruct
Expand Up @@ -850,8 +850,9 @@ def CheckAlignment( context ):

def CheckBigEndian( context ):
context.Message( 'Checking if system is big endian (for snappy) ...' )
# Include path is a bit brittle, find the correct variable to use
res = context.TryCompile( """
#include "../src/third_party/boost/boost/detail/endian.hpp"
#include "../../../src/third_party/boost/boost/detail/endian.hpp"
#ifdef BOOST_LITTLE_ENDIAN
#error "Little Endian"
#endif
Expand Down

0 comments on commit 199ffe9

Please sign in to comment.