diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-04-07 03:49:30 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-07 03:49:30 +0000 |
| commit | 5de54062d8bf9bdfde17a02e4aef91341146162d (patch) | |
| tree | 02dca607621cdefb14ef1e3596bc78dcbc6c8c24 | |
| parent | d37b4151d5422b164a02c3773c9ebe478d6d82da (diff) | |
| download | libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.gz libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.bz2 libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.xz libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.zip | |
I fixed a stupid typo in string, I don't know how it ever compiled. It also
builds on win32 again...
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 | } |
