-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move check for PostgreSQL 9.3 to CMake from the source file
Unfortunately pg_config.h is not available in all installations under Windows, so don't rely on being able to include it and instead check POSTGRESQL_VERSION in CMake and define SOCI_POSTGRESQL_NO_LO64 if necessary. This has an additional advantage of allowing to test this code easily even when using PostgreSQL >= 9.3 by turning on this option.
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters