diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-04-06 14:14:01 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-06 14:14:01 +0000 |
| commit | 9f440fb38b36f2d602710695dd53ad9c80e84c2c (patch) | |
| tree | b5b1fb4dec3fd4433c564f8b69bc155782e2b00b /src | |
| parent | 5fdf49f609a658161f482b406590531d4941ac46 (diff) | |
| download | libbu++-9f440fb38b36f2d602710695dd53ad9c80e84c2c.tar.gz libbu++-9f440fb38b36f2d602710695dd53ad9c80e84c2c.tar.bz2 libbu++-9f440fb38b36f2d602710695dd53ad9c80e84c2c.tar.xz libbu++-9f440fb38b36f2d602710695dd53ad9c80e84c2c.zip | |
Libbu++ generates it's own system specific config file as well as a fancy
version header file all programs can now use to determine which version, api
version, and svn revision of libbu++ they're linking against. It doesn't quite
work for windows yet, but it will, eventually.
Diffstat (limited to '')
| -rw-r--r-- | src/config.h | 8 | ||||
| -rw-r--r-- | src/utfstring.cpp | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h index ce954de..260d406 100644 --- a/src/config.h +++ b/src/config.h | |||
| @@ -17,7 +17,11 @@ | |||
| 17 | 17 | ||
| 18 | #include "bu/extratypes.h" | 18 | #include "bu/extratypes.h" |
| 19 | 19 | ||
| 20 | // Later if we need autoconfig stuff, here's where it'll go. | 20 | #ifndef WIN32 |
| 21 | // #include "bu/autoconfig.h" | 21 | #include "bu/autoconfig.h" |
| 22 | #else | ||
| 23 | #warning Cannot generate an autoinclude file for windows yet | ||
| 24 | #endif | ||
| 25 | |||
| 22 | 26 | ||
| 23 | #endif | 27 | #endif |
diff --git a/src/utfstring.cpp b/src/utfstring.cpp index 7c4ba19..c9da52f 100644 --- a/src/utfstring.cpp +++ b/src/utfstring.cpp | |||
| @@ -9,9 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #include "bu/string.h" | 10 | #include "bu/string.h" |
| 11 | #include "bu/stream.h" | 11 | #include "bu/stream.h" |
| 12 | 12 | #include "bu/config.h" | |
| 13 | #include <endian.h> | ||
| 14 | |||
| 15 | #include "bu/sio.h" | 13 | #include "bu/sio.h" |
| 16 | using Bu::sio; | 14 | using Bu::sio; |
| 17 | 15 | ||
