summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorRosen <rosen@live.com>2016-09-24 08:45:06 +0530
committerjan iversen <jani@documentfoundation.org>2016-09-26 19:12:49 +0000
commit622bb4bc72ee6e8eae3193e80e13748be150e1e0 (patch)
tree170d4ff0dcd2b4358f8ff3efabc68ce04e35d7d7 /external
parentc8968b12f9ae88f592d8a8d17cdecfae8aa8722e (diff)
tdf#96505 Get rid of cargo cult "long" integer literals
Change-Id: Ica3a8ddc187949de765c8a065ada766d5e29b8b1 Reviewed-on: https://gerrit.libreoffice.org/29241 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'external')
-rw-r--r--external/unixODBC/inc/odbc/sql.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/external/unixODBC/inc/odbc/sql.h b/external/unixODBC/inc/odbc/sql.h
index 6d1e1608372a..f426dca9199d 100644
--- a/external/unixODBC/inc/odbc/sql.h
+++ b/external/unixODBC/inc/odbc/sql.h
@@ -468,12 +468,12 @@ extern "C" {
/* SQL_ALTER_TABLE bitmasks */
#if (ODBCVER >= 0x0200)
-#define SQL_AT_ADD_COLUMN 0x00000001L
-#define SQL_AT_DROP_COLUMN 0x00000002L
+#define SQL_AT_ADD_COLUMN 0x00000001
+#define SQL_AT_DROP_COLUMN 0x00000002
#endif /* ODBCVER >= 0x0200 */
#if (ODBCVER >= 0x0300)
-#define SQL_AT_ADD_CONSTRAINT 0x00000008L
+#define SQL_AT_ADD_CONSTRAINT 0x00000008
/* The following bitmasks are ODBC extensions and defined in sqlext.h
*#define SQL_AT_COLUMN_SINGLE 0x00000020L
@@ -508,16 +508,16 @@ extern "C" {
#define SQL_CB_PRESERVE 2
/* SQL_FETCH_DIRECTION bitmasks */
-#define SQL_FD_FETCH_NEXT 0x00000001L
-#define SQL_FD_FETCH_FIRST 0x00000002L
-#define SQL_FD_FETCH_LAST 0x00000004L
-#define SQL_FD_FETCH_PRIOR 0x00000008L
-#define SQL_FD_FETCH_ABSOLUTE 0x00000010L
-#define SQL_FD_FETCH_RELATIVE 0x00000020L
+#define SQL_FD_FETCH_NEXT 0x00000001
+#define SQL_FD_FETCH_FIRST 0x00000002
+#define SQL_FD_FETCH_LAST 0x00000004
+#define SQL_FD_FETCH_PRIOR 0x00000008
+#define SQL_FD_FETCH_ABSOLUTE 0x00000010
+#define SQL_FD_FETCH_RELATIVE 0x00000020
/* SQL_GETDATA_EXTENSIONS bitmasks */
-#define SQL_GD_ANY_COLUMN 0x00000001L
-#define SQL_GD_ANY_ORDER 0x00000002L
+#define SQL_GD_ANY_COLUMN 0x00000001
+#define SQL_GD_ANY_ORDER 0x00000002
/* SQL_IDENTIFIER_CASE values */
#define SQL_IC_UPPER 1
@@ -530,20 +530,20 @@ extern "C" {
#if (ODBCVER >= 0x0201)
-#define SQL_OJ_LEFT 0x00000001L
-#define SQL_OJ_RIGHT 0x00000002L
-#define SQL_OJ_FULL 0x00000004L
-#define SQL_OJ_NESTED 0x00000008L
-#define SQL_OJ_NOT_ORDERED 0x00000010L
-#define SQL_OJ_INNER 0x00000020L
-#define SQL_OJ_ALL_COMPARISON_OPS 0x00000040L
+#define SQL_OJ_LEFT 0x00000001
+#define SQL_OJ_RIGHT 0x00000002
+#define SQL_OJ_FULL 0x00000004
+#define SQL_OJ_NESTED 0x00000008
+#define SQL_OJ_NOT_ORDERED 0x00000010
+#define SQL_OJ_INNER 0x00000020
+#define SQL_OJ_ALL_COMPARISON_OPS 0x00000040
#endif
/* SQL_SCROLL_CONCURRENCY bitmasks */
-#define SQL_SCCO_READ_ONLY 0x00000001L
-#define SQL_SCCO_LOCK 0x00000002L
-#define SQL_SCCO_OPT_ROWVER 0x00000004L
-#define SQL_SCCO_OPT_VALUES 0x00000008L
+#define SQL_SCCO_READ_ONLY 0x00000001
+#define SQL_SCCO_LOCK 0x00000002
+#define SQL_SCCO_OPT_ROWVER 0x00000004
+#define SQL_SCCO_OPT_VALUES 0x00000008
/* SQL_TXN_CAPABLE values */
#define SQL_TC_NONE 0
@@ -553,13 +553,13 @@ extern "C" {
#define SQL_TC_DDL_IGNORE 4
/* SQL_TXN_ISOLATION_OPTION bitmasks */
-#define SQL_TXN_READ_UNCOMMITTED 0x00000001L
+#define SQL_TXN_READ_UNCOMMITTED 0x00000001
#define SQL_TRANSACTION_READ_UNCOMMITTED SQL_TXN_READ_UNCOMMITTED
-#define SQL_TXN_READ_COMMITTED 0x00000002L
+#define SQL_TXN_READ_COMMITTED 0x00000002
#define SQL_TRANSACTION_READ_COMMITTED SQL_TXN_READ_COMMITTED
-#define SQL_TXN_REPEATABLE_READ 0x00000004L
+#define SQL_TXN_REPEATABLE_READ 0x00000004
#define SQL_TRANSACTION_REPEATABLE_READ SQL_TXN_REPEATABLE_READ
-#define SQL_TXN_SERIALIZABLE 0x00000008L
+#define SQL_TXN_SERIALIZABLE 0x00000008
#define SQL_TRANSACTION_SERIALIZABLE SQL_TXN_SERIALIZABLE
/* SQL_NULL_COLLATION values */