places that were including the wrong files.
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "bind.h"
+
#include "environ.h"
#include "statement.h"
#include "qresult.h"
*/
#include "columninfo.h"
+
#include "connection.h"
#include "socket.h"
#include <stdlib.h>
*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "connection.h"
#include "environ.h"
-#include "connection.h"
#include "socket.h"
#include "statement.h"
#include "qresult.h"
#ifndef __CONNECTION_H__
#define __CONNECTION_H__
+#include "psqlodbc.h"
+
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "psqlodbc.h"
-
#ifndef WIN32
#include "iodbc.h"
#include "isql.h"
*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "convert.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
-#include "psqlodbc.h"
-
#ifdef MULTIBYTE
#include "multibyte.h"
#endif
#include <time.h>
#include <math.h>
#include <stdlib.h>
-#include "convert.h"
#include "statement.h"
#include "qresult.h"
#include "bind.h"
#include "psqlodbc.h"
+#include "isql.h"
+
/* copy_and_convert results */
#define COPY_OK 0
#define COPY_UNSUPPORTED_TYPE 1
*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#ifndef WIN32
#include <string.h>
#ifndef __DLG_SPECIFIC_H__
#define __DLG_SPECIFIC_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#include "connection.h"
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#include <stdio.h>
#include <stdlib.h>
-#include "psqlodbc.h"
#include "connection.h"
#ifndef WIN32
*/
#include "environ.h"
+
#include "connection.h"
#include "dlg_specific.h"
#include "statement.h"
#ifndef __ENVIRON_H__
#define __ENVIRON_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#ifndef WIN32
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#include <stdio.h>
#include <string.h>
#ifndef WIN32
-#if HAVE_CONFIG_H
-#include "config.h" /* produced by configure */
-#endif
+#include "gpps.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <string.h>
#include "misc.h"
-#include "gpps.h"
#include "dlg_specific.h"
#ifndef TRUE
}
-#if 0
+#if NOT_USED
/*
* Ok. What the hell's the default behaviour for a null input buffer, and null
* section name. For now if either are null I ignore the request, until
return aReturnLength > 0 ? aReturnLength - 1 : 0;
}
-#endif
+#endif /* NOT_USED */
-#endif
+#endif /* not WIN32 */
#ifndef GPPS_H
#define GPPS_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#ifndef WIN32
#include <sys/types.h>
*--------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#include <string.h>
#include <stdio.h>
-#include "psqlodbc.h"
#ifndef WIN32
#include "iodbc.h"
*-------
*/
+#include "psqlodbc.h"
+
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
-#include "psqlodbc.h"
-
#ifndef WIN32
#if HAVE_PWD_H
#include <pwd.h>
/* Undefine these because windows.h will redefine and cause a warning */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#ifdef WIN32
#undef va_start
#undef va_end
#ifndef __MISC_H__
#define __MISC_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#ifndef WIN32
#include "gpps.h"
*--------
*/
-#include <string.h>
#include "multibyte.h"
+#include <string.h>
int multibyte_client_encoding; /* Multibyte Client Encoding. */
int multibyte_status; /* Multibyte Odds and ends character. */
* Multibyte library header ( psqlODBC Only )
*
*/
+#include "psqlodbc.h"
/* PostgreSQL client encoding */
#define SQL_ASCII 0 /* SQL/ASCII */
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#ifdef WIN32
#undef ODBCVER
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#undef ODBCVER
#define ODBCVER 0x0300
*--------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#include <string.h>
*/
/* Multibyte support Eiji Tokuya 2001-03-15 */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#include <stdio.h>
#include <string.h>
*/
#ifndef _PG_API_FUNC_H__
#define _PG_API_FUNC_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "psqlodbc.h"
#include <stdio.h>
*--------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "pgtypes.h"
-#include "psqlodbc.h"
#include "dlg_specific.h"
-#include "pgtypes.h"
#include "statement.h"
#include "connection.h"
#include "qresult.h"
*--------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#include "dlg_specific.h"
*
* Comments: See "notice.txt" for copyright and license information.
*
- * $Id: psqlodbc.h,v 1.45 2001/08/18 04:30:47 inoue Exp $
+ * $Id: psqlodbc.h,v 1.46 2001/08/24 14:07:50 petere Exp $
*
*/
#define __PSQLODBC_H__
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include "pg_config.h"
#endif
#include <stdio.h> /* for FILE* pointers: see GLOBAL_VALUES */
#ifndef __QRESULT_H__
#define __QRESULT_H__
+#include "psqlodbc.h"
+
#include "connection.h"
#include "socket.h"
#include "columninfo.h"
#include "tuplelist.h"
-#include "psqlodbc.h"
#include "tuple.h"
enum QueryResultCode_
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#include <string.h>
-#include "psqlodbc.h"
#include "dlg_specific.h"
#include "environ.h"
#include "connection.h"
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "socket.h"
#ifndef WIN32
#ifndef __SOCKET_H__
#define __SOCKET_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include "psqlodbc.h"
#ifndef WIN32
#include <sys/types.h>
*-------
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "statement.h"
#include "bind.h"
#include "connection.h"
#ifndef __STATEMENT_H__
#define __STATEMENT_H__
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "psqlodbc.h"
#include "bind.h"
*--------
*/
-#include <stdlib.h>
#include "tuplelist.h"
+#include <stdlib.h>
#include "tuple.h"