summaryrefslogtreecommitdiffstats
path: root/common/config_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/config_file.c')
-rw-r--r--common/config_file.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/config_file.c b/common/config_file.c
index 38ba3c3..23567a5 100644
--- a/common/config_file.c
+++ b/common/config_file.c
@@ -569,11 +569,9 @@ static const char * getHome()
#ifdef __cplusplus
-#if defined TQTC_TQT_ONLY || 0x039999 < 0x040000
-#if 0x039999 < 0x040000
+#if defined TQTC_TQT_ONLY
#include <tqdir.h>
#include <tqfile.h>
-#endif
// Take from TDEStandardDirs::makeDir
static bool makeDir(const TQString& dir, int mode)
{
@@ -697,7 +695,7 @@ static const char *qtcConfDir()
if(0!=lstat(cfgDir, &info))
{
#ifdef __cplusplus
-#if defined TQTC_TQT_ONLY || 0x039999 < 0x040000
+#if defined TQTC_TQT_ONLY
makeDir(cfgDir, 0755);
#else
TDEStandardDirs::makeDir(cfgDir, 0755);