diff options
Diffstat (limited to '')
| -rw-r--r-- | src/compat/win32.h | 6 | ||||
| -rw-r--r-- | src/string.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
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 | |||
| 128 | 128 | ||
| 129 | #undef USE_64BIT_IO | 129 | #undef USE_64BIT_IO |
| 130 | 130 | ||
| 131 | // Windows has no autoconfig, and no endian.h, but only works on little endian | ||
| 132 | // as far as I know. | ||
| 133 | #define LITTLE_ENDIAN 0 | ||
| 134 | #define BIG_ENDIAN 1 | ||
| 135 | #define BYTE_ORDER 0 | ||
| 136 | |||
| 131 | #endif /* WIN32 */ | 137 | #endif /* WIN32 */ |
| 132 | #endif | 138 | #endif |
| 133 | 139 | ||
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 ) | |||
| 141 | append( pData, nLength ); | 141 | append( pData, nLength ); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | Bu::String::String( const Bu::String::String &rSrc ) : | 144 | Bu::String::String( const Bu::String &rSrc ) : |
| 145 | Bu::SharedCore<Bu::String, Bu::StringCore>( rSrc ) | 145 | Bu::SharedCore<Bu::String, Bu::StringCore>( rSrc ) |
| 146 | { | 146 | { |
| 147 | } | 147 | } |
