From 8bbdc6419832bb78bff011e34c6080d7b8e56876 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 9 Dec 2004 02:33:20 +0000 Subject: [PATCH] * include/sqlext.h (SQL_INTERVAL_*): Correct macros. Reported by Eric Sharkey --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/sqlext.h | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 13bc3b80b..51e5b6c49 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2004-12-08 Danny Smith + + * include/sqlext.h (SQL_INTERVAL_*): Correct macros. + Reported by Eric Sharkey + 2004-12-07 Danny Smith * include/winnt.h (TOKEN_INFORMATION_CLASS): Add diff --git a/winsup/w32api/include/sqlext.h b/winsup/w32api/include/sqlext.h index 884260781..9702b1bc3 100644 --- a/winsup/w32api/include/sqlext.h +++ b/winsup/w32api/include/sqlext.h @@ -541,14 +541,14 @@ extern "C" { #define SQL_CODE_HOUR_TO_MINUTE 11 #define SQL_CODE_HOUR_TO_SECOND 12 #define SQL_CODE_MINUTE_TO_SECOND 13 -#define SQL_INTERVAL_YEAR (100 + SQL_CODE_SECOND) -#define SQL_INTERVAL_MONTH (100 + SQL_CODE_YEAR_TO_MONTH) -#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY_TO_HOUR) -#define SQL_INTERVAL_HOUR (100 + SQL_CODE_DAY_TO_MINUTE) -#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_DAY_TO_SECOND) -#define SQL_INTERVAL_SECOND (100 + SQL_CODE_HOUR_TO_MINUTE) -#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_HOUR_TO_SECOND) -#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_MINUTE_TO_SECOND) +#define SQL_INTERVAL_YEAR (100 + SQL_CODE_YEAR) +#define SQL_INTERVAL_MONTH (100 + SQL_CODE_MONTH) +#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY) +#define SQL_INTERVAL_HOUR (100 + SQL_CODE_HOUR) +#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_MINUTE) +#define SQL_INTERVAL_SECOND (100 + SQL_CODE_SECOND) +#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH) +#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR) #define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE) #define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND) #define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE)