From 5de54062d8bf9bdfde17a02e4aef91341146162d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 7 Apr 2011 03:49:30 +0000 Subject: I fixed a stupid typo in string, I don't know how it ever compiled. It also builds on win32 again... --- src/compat/win32.h | 6 ++++++ src/string.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/compat/win32.h b/src/compat/win32.h index 1d82fbe..2978371 100644 --- a/src/compat/win32.h +++ b/src/compat/win32.h @@ -128,6 +128,12 @@ namespace Bu #undef USE_64BIT_IO +// Windows has no autoconfig, and no endian.h, but only works on little endian +// as far as I know. +#define LITTLE_ENDIAN 0 +#define BIG_ENDIAN 1 +#define BYTE_ORDER 0 + #endif /* WIN32 */ #endif diff --git a/src/string.cpp b/src/string.cpp index edc45f9..1a9018b 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -141,7 +141,7 @@ Bu::String::String( const char *pData, long nLength ) append( pData, nLength ); } -Bu::String::String( const Bu::String::String &rSrc ) : +Bu::String::String( const Bu::String &rSrc ) : Bu::SharedCore( rSrc ) { } -- cgit v1.2.3