/*
 * config.h for the RISC OS build of psqlODBC.
 *
 * Built as a Rink segment loaded by the iODBC 3.52 driver manager in
 * !ODBC, single threaded, using the bundled libpq.
 */

#ifndef PSQLODBC_RISCOS_CONFIG_H
#define PSQLODBC_RISCOS_CONFIG_H

#ifndef RISCOS
#define RISCOS
#endif

#define WITH_IODBC 1
#define HAVE_LIBPQ 1
#define HAVE_LONG_LONG 1
#define HAVE_INTTYPES_H 1
#define HAVE_LOCALE_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
/* strlcat comes from the linked-in src/port copy, c.strlcat */
#define HAVE_STRLCAT 1
#define HAVE_STRTOLL 1
#define HAVE_STRTOUL 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SIGNED_CHAR 1
#define HAVE_SSIZE_T 1
#define STDC_HEADERS 1

#include "riscostypes.h"

/* strdup, strcasecmp and strncasecmp come from CLibSupport */
#include "csstring.h"

#define SIZEOF_LONG 4
#define SIZEOF_LONG_INT 4
#define SIZEOF_VOID_P 4
#define SIZEOF_BOOL 1

/* iODBC 3.52 declares SQLColAttribute with SQLLEN *NumericAttribute */
#define SQLCOLATTRIBUTE_SQLLEN 1

#define PACKAGE "psqlodbc"
#define PACKAGE_NAME "psqlodbc"
#define PACKAGE_VERSION "16.00.0000"
#define PACKAGE_STRING "psqlodbc 16.00.0000"
#define PACKAGE_TARNAME "psqlodbc"
#define PACKAGE_BUGREPORT "pgsql-odbc@postgresql.org"
#define PACKAGE_URL ""
#define VERSION "16.00.0000"

#endif
