Fix unintended renaming

pull/1/head
Darrell Anderson 11 years ago
parent c5b373273f
commit 3c13229d98

@ -22,22 +22,22 @@
// std::clock_t // std::clock_t
#include <ctime> #include <ctime>
// linux has __GNUC_PREREQ, NetBSD has __GNUC_PRETQ__ // linux has __GNUC_PREREQ, NetBSD has __GNUC_PREQ__
#if defined(__GNUC_PREREQ) && !defined(__GNUC_PRERETQ__) #if defined(__GNUC_PREREQ) && !defined(__GNUC_PREREQ__)
#define __GNUC_PRERETQ__ __GNUC_PREREQ #define __GNUC_PREREQ__ __GNUC_PREREQ
#endif #endif
#if !defined(__GNUC_PRERETQ__) #if !defined(__GNUC_PREREQ__)
#if defined __GNUC__ #if defined __GNUC__
#define __GNUC_PRERETQ__(x, y) \ #define __GNUC_PREREQ__(x, y) \
((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \ ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \
(__GNUC__ > (x))) (__GNUC__ > (x)))
#else #else
#define __GNUC_PRERETQ__(x, y) 0 #define __GNUC_PREREQ__(x, y) 0
#endif #endif
#endif #endif
# if defined __cplusplus ? __GNUC_PRERETQ__ (2, 6) : __GNUC_PRERETQ__ (2, 4) # if defined __cplusplus ? __GNUC_PREREQ__ (2, 6) : __GNUC_PREREQ__ (2, 4)
# define MY_FUNCTION __PRETTY_FUNCTION__ # define MY_FUNCTION __PRETTY_FUNCTION__
# else # else
# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L

Loading…
Cancel
Save