summaryrefslogtreecommitdiffstats
path: root/src/tools/qlibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qlibrary.cpp')
-rw-r--r--src/tools/qlibrary.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qlibrary.cpp b/src/tools/qlibrary.cpp
index 80a328d8..2181f7fc 100644
--- a/src/tools/qlibrary.cpp
+++ b/src/tools/qlibrary.cpp
@@ -43,7 +43,7 @@
#include <ntqstringlist.h>
#include <ntqfile.h>
-#ifndef QT_NO_LIBRARY
+#ifndef TQT_NO_LIBRARY
// uncomment this to get error messages
//#define QT_DEBUG_COMPONENT 1
@@ -59,7 +59,7 @@
#if (defined(Q_WS_WIN) && !defined(QT_MAKEDLL)) \
|| (defined(Q_OS_FREEBSD) && defined(Q_CC_INTEL)) \
|| (defined(Q_OS_IRIX) && defined(Q_CC_GNU))
-#define QT_NO_LIBRARY_UNLOAD
+#define TQT_NO_LIBRARY_UNLOAD
#endif
TQLibraryPrivate::TQLibraryPrivate( TQLibrary *lib )
@@ -339,7 +339,7 @@ bool TQLibrary::unload()
if ( !d->pHnd )
return TRUE;
-#if !defined(QT_NO_LIBRARY_UNLOAD)
+#if !defined(TQT_NO_LIBRARY_UNLOAD)
if ( !d->freeLibrary() ) {
# if defined(QT_DEBUG_COMPONENT)
tqWarning( "%s could not be unloaded", (const char*) TQFile::encodeName(library()) );
@@ -440,4 +440,4 @@ TQString TQLibrary::library() const
#endif
return filename;
}
-#endif //QT_NO_LIBRARY
+#endif //TQT_NO_LIBRARY