author | Lorenzo Bettini <bettini@dsi.unifi.it> | 2009年12月03日 22:00:47 +0100 |
---|---|---|
committer | Lorenzo Bettini <bettini@dsi.unifi.it> | 2009年12月03日 22:00:47 +0100 |
commit | 25453e3b809e57aa57d9ffe97cab49ef4d92e6f1 (patch) | |
tree | 416d21a278b56afa823a8726313873503561d16e /src/source-highlight-settings.cpp | |
parent | 8d3510c735e74d0c88a18d0c78c918232255ab72 (diff) | |
download | src-highlite-25453e3b809e57aa57d9ffe97cab49ef4d92e6f1.tar.gz |
-rw-r--r-- | src/source-highlight-settings.cpp | 12 |
diff --git a/src/source-highlight-settings.cpp b/src/source-highlight-settings.cpp index 3d866a8..9eefe6d 100644 --- a/src/source-highlight-settings.cpp +++ b/src/source-highlight-settings.cpp @@ -26,8 +26,20 @@ #include "srchilite/settings.h" #include "srchilite/versions.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" + +// this is glib related so don't use it when compiling with qmake #include "progname.h" +#else + +#define set_program_name(x) ; + +#endif + + using namespace std; using namespace srchilite; |