diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-08 16:13:49 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-08 16:13:49 +0000 |
| commit | ea6bdbcf952e5ac4696cb91364c1923f6ab96321 (patch) | |
| tree | 06184b10a3e0231b7c18d9cf6a66f2a3a6f97f8c /include | |
| parent | 8f08a8271468cf8285f000ac4c0b25e12f1d596b (diff) | |
| download | zabbix-ea6bdbcf952e5ac4696cb91364c1923f6ab96321.tar.gz zabbix-ea6bdbcf952e5ac4696cb91364c1923f6ab96321.tar.xz zabbix-ea6bdbcf952e5ac4696cb91364c1923f6ab96321.zip | |
- improved databases determination of configuration script (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3664 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
| -rw-r--r-- | include/db.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/db.h b/include/db.h index e9bfff64..2b2353ed 100644 --- a/include/db.h +++ b/include/db.h @@ -38,13 +38,13 @@ # include "sqlora.h" #endif /* HAVE_ORACLE */ -#ifdef HAVE_PGSQL +#ifdef HAVE_POSTGRESQL # include <libpq-fe.h> -#endif /* HAVE_PGSQL */ +#endif /* HAVE_POSTGRESQL */ #ifdef HAVE_SQLITE3 # include <sqlite3.h> -#endif /* HAVE_PGSQL */ +#endif /* HAVE_SQLITE3 */ #ifdef HAVE_SQLITE3 @@ -108,7 +108,7 @@ void SQ_DBfree_result(DB_RESULT result); #define DB_ROW MYSQL_ROW #endif -#ifdef HAVE_PGSQL +#ifdef HAVE_POSTGRESQL #define DB_ROW char ** #define DB_RESULT ZBX_PG_DB_RESULT* #define DBfree_result PG_DBfree_result |
