Add strnlen on platforms that don't have it, such as OS X

This commit is contained in:
Greg Smith
2011-10-20 17:04:29 -05:00
committed by Jaime Casanova
parent 94c9c3a5c6
commit f0e609bcd4
4 changed files with 19 additions and 2 deletions

View File

@@ -20,6 +20,8 @@
#ifndef _REPMGR_DBUTILS_H_
#define _REPMGR_DBUTILS_H_
#include "strutil.h"
PGconn *establishDBConnection(const char *conninfo, const bool exit_on_error);
PGconn *establishDBConnectionByParams(const char *keywords[],
const char *values[],