From 9f440fb38b36f2d602710695dd53ad9c80e84c2c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 6 Apr 2011 14:14:01 +0000 Subject: 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. --- src/config.h | 8 ++++++-- src/utfstring.cpp | 4 +--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src') 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 @@ #include "bu/extratypes.h" -// Later if we need autoconfig stuff, here's where it'll go. -// #include "bu/autoconfig.h" +#ifndef WIN32 +#include "bu/autoconfig.h" +#else +#warning Cannot generate an autoinclude file for windows yet +#endif + #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 @@ #include "bu/string.h" #include "bu/stream.h" - -#include - +#include "bu/config.h" #include "bu/sio.h" using Bu::sio; -- cgit v1.2.3