diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2011-02-03 02:33:27 (GMT) |
---|---|---|
committer | Michael Goddard <michael.goddard@nokia.com> | 2011-02-04 05:41:03 (GMT) |
commit | 47a134b9a9136dc961dc5dd07e345aeb94b2d401 (patch) | |
tree | 02c11a35eb7d5b61c53bcd45ddbb70e6dd7ffdaf /src/sql | |
parent | bdd4a9149789f60974603e1f7621d51378f0a108 (diff) | |
download | Qt-47a134b9a9136dc961dc5dd07e345aeb94b2d401.zip Qt-47a134b9a9136dc961dc5dd07e345aeb94b2d401.tar.gz Qt-47a134b9a9136dc961dc5dd07e345aeb94b2d401.tar.bz2 |
Namespace compilation - OCI typedefs should be outside Qt namespace.
psql, sqlite2 drivers already do this correctly.
Change-Id: I1f02401432d5c39fa1572e2f6255941b8a67e591
Task-number: QTBUG-17076
Reviewed-by: Charles Yin
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/drivers/oci/qsql_oci.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/drivers/oci/qsql_oci.h b/src/sql/drivers/oci/qsql_oci.h index 51fd14c..22bd78d 100644 --- a/src/sql/drivers/oci/qsql_oci.h +++ b/src/sql/drivers/oci/qsql_oci.h @@ -54,6 +54,9 @@ QT_BEGIN_HEADER +typedef struct OCIEnv OCIEnv; +typedef struct OCISvcCtx OCISvcCtx; + QT_BEGIN_NAMESPACE class QOCIDriver; @@ -61,9 +64,6 @@ class QOCICols; struct QOCIDriverPrivate; struct QOCIResultPrivate; -typedef struct OCIEnv OCIEnv; -typedef struct OCISvcCtx OCISvcCtx; - class Q_EXPORT_SQLDRIVER_OCI QOCIResult : public QSqlCachedResult { friend class QOCIDriver; |