New types conditionally compiled
authoraland <aland>
Tue, 3 Dec 2002 16:50:16 +0000 (16:50 +0000)
committeraland <aland>
Tue, 3 Dec 2002 16:50:16 +0000 (16:50 +0000)
src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c

index bc356f2..6e5d7e4 100644 (file)
@@ -297,8 +297,12 @@ static int sql_select_query(SQLSOCK *sqlsocket, SQL_CONFIG *config, char *querys
                 * for char/string type columns).
                 */
                switch(dtype) {
+#ifdef SQLT_AFC
                case SQLT_AFC:  /* ansii fixed char */
+#endif
+#ifdef SQLT_AFV
                case SQLT_AFV:  /* ansii var char */
+#endif
                case SQLT_VCS:  /* var char */
                case SQLT_CHR:  /* char */
                case SQLT_STR:  /* string */