diff --git a/CMakeLists.txt b/CMakeLists.txt index 387053b..2eb5ca8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ find_package(Mal) # see if mal is available, but it's not required add_definitions( ${QT_DEFINITIONS} ${KDE3_DEFINITIONS} - -DQT_THREAD_SUPPORT + -DTQT_THREAD_SUPPORT ) STRING(COMPARE EQUAL "${CMAKE_BUILD_TYPE}" "debug" builddebug) diff --git a/lib/Makefile.am b/lib/Makefile.am index 94c5fe9..7864a38 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -52,7 +52,7 @@ check-local: for i in $(srcdir)/*.h ; do \ ( echo "#include " ; echo "#include \"$$i\"" ; echo "int main(int argc,char **argv){return 0;}" ) > header-test.cc; \ echo "$$i" ; \ - g++ $(all_includes) -I$(top_builddir) -DQT_THREAD_SUPPORT -c header-test.cc || echo "$$i" >> FAILED; \ + g++ $(all_includes) -I$(top_builddir) -DTQT_THREAD_SUPPORT -c header-test.cc || echo "$$i" >> FAILED; \ done test ! -e FAILED