Skip to content

Commit

Permalink
Define SOCI_ORACLE_SOURCE in all Oracle backend source files
Browse files Browse the repository at this point in the history
This definition was missing from blob.cpp and used wrong case in a few
other files, which didn't matter until recent changes exporting Oracle
backend classes, but results in link errors under Windows now.
  • Loading branch information
vadz committed Oct 16, 2024
1 parent 2ce816b commit 86a7d8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/backends/oracle/blob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//

#define SOCI_ORACLE_SOURCE
#include "soci/oracle/soci-oracle.h"
#include "error.h"
#include "soci/statement.h"
Expand Down
2 changes: 1 addition & 1 deletion src/backends/oracle/standard-use-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//

#define soci_ORACLE_SOURCE
#define SOCI_ORACLE_SOURCE
#include "soci/oracle/soci-oracle.h"
#include "soci/blob.h"
#include "clob.h"
Expand Down
3 changes: 1 addition & 2 deletions src/backends/oracle/statement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//

#define soci_ORACLE_SOURCE

#define SOCI_ORACLE_SOURCE
#include "soci/oracle/soci-oracle.h"
#include "error.h"
#include "soci/soci-backend.h"
Expand Down
2 changes: 1 addition & 1 deletion src/backends/oracle/vector-into-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//

#define soci_ORACLE_SOURCE
#define SOCI_ORACLE_SOURCE
#include "soci/oracle/soci-oracle.h"
#include "soci/statement.h"
#include "clob.h"
Expand Down
2 changes: 1 addition & 1 deletion src/backends/oracle/vector-use-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//

#define soci_ORACLE_SOURCE
#define SOCI_ORACLE_SOURCE
#include "soci/oracle/soci-oracle.h"
#include "clob.h"
#include "error.h"
Expand Down

0 comments on commit 86a7d8c

Please sign in to comment.