diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-06-06 20:34:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-06-06 20:42:59 +0200 |
commit | 50346f101bef202bcbdb4b8758f6d60ce949ce8a (patch) | |
tree | 5718d18d5f68e30a7b5b134c1745491959872074 | |
parent | b126891257fbe1929ebe592091c48e3735b14ccb (diff) | |
download | kvirc-50346f101bef202bcbdb4b8758f6d60ce949ce8a.tar.gz kvirc-50346f101bef202bcbdb4b8758f6d60ce949ce8a.zip |
Fix FTBFS because undefined macro TDE_DIR and TDE_LIBDIRv3.5.13.2
(cherry picked from commit 2d7006ac95a68cf61b6c6875ff4ce8f70d596f8b)
-rw-r--r-- | src/config.h.in | 6 | ||||
-rw-r--r-- | src/kvirc/kernel/kvi_app_fs.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/kernel/kvi_app_setup.cpp | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/config.h.in b/src/config.h.in index 3084f017..e8ef18e6 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -267,3 +267,9 @@ /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE + +/* TDE directory */ +#undef TDE_DIR + +/* TDE Library directory */ +#undef TDE_LIBDIR diff --git a/src/kvirc/kernel/kvi_app_fs.cpp b/src/kvirc/kernel/kvi_app_fs.cpp index 42d23706..ce2208dc 100644 --- a/src/kvirc/kernel/kvi_app_fs.cpp +++ b/src/kvirc/kernel/kvi_app_fs.cpp @@ -39,6 +39,8 @@ #include <tqfileinfo.h> #include <tqdatetime.h> +#include "config.h" + extern KviMediaManager * g_pMediaManager; //============ getGlobalKvircDirectory ================// diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp index 8bc98fdd..64f92955 100644 --- a/src/kvirc/kernel/kvi_app_setup.cpp +++ b/src/kvirc/kernel/kvi_app_setup.cpp @@ -66,7 +66,7 @@ #include <tqtextstream.h> #include <tqdir.h> - +#include "config.h" // |