diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/tellico_debug.h | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/tellico_debug.h')
-rw-r--r-- | src/tellico_debug.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tellico_debug.h b/src/tellico_debug.h index ea65518..9dee1ff 100644 --- a/src/tellico_debug.h +++ b/src/tellico_debug.h @@ -22,22 +22,22 @@ // std::clock_t #include <ctime> -// linux has __GNUC_PREREQ, NetBSD has __GNUC_PREQ__ -#if defined(__GNUC_PREREQ) && !defined(__GNUC_PREREQ__) -#define __GNUC_PREREQ__ __GNUC_PREREQ +// linux has __GNUC_PREREQ, NetBSD has __GNUC_PRETQ__ +#if defined(__GNUC_PREREQ) && !defined(__GNUC_PRERETQ__) +#define __GNUC_PRERETQ__ __GNUC_PREREQ #endif -#if !defined(__GNUC_PREREQ__) +#if !defined(__GNUC_PRERETQ__) #if defined __GNUC__ -#define __GNUC_PREREQ__(x, y) \ +#define __GNUC_PRERETQ__(x, y) \ ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \ (__GNUC__ > (x))) #else -#define __GNUC_PREREQ__(x, y) 0 +#define __GNUC_PRERETQ__(x, y) 0 #endif #endif -# if defined __cplusplus ? __GNUC_PREREQ__ (2, 6) : __GNUC_PREREQ__ (2, 4) +# if defined __cplusplus ? __GNUC_PRERETQ__ (2, 6) : __GNUC_PRERETQ__ (2, 4) # define MY_FUNCTION __PRETTY_FUNCTION__ # else # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L |