mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Remove references to the ODBC driver from the main source tree. From Kris
Jurka.
This commit is contained in:
@@ -14,19 +14,11 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.25 2004/08/29 04:12:32 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.26 2004/09/27 04:18:28 neilc Exp $
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* NOTE:
|
||||
*
|
||||
* There are two copies of this file, one in backend/libpq and another
|
||||
* in interfaces/odbc. They should be identical. This is done so ODBC
|
||||
* can be compiled stand-alone.
|
||||
*/
|
||||
|
||||
#if ! defined(MD5_ODBC) && ! defined(FRONTEND)
|
||||
#if ! defined(FRONTEND)
|
||||
#include "postgres.h"
|
||||
#include "libpq/crypt.h"
|
||||
#endif
|
||||
@@ -34,18 +26,12 @@
|
||||
#ifdef FRONTEND
|
||||
#include "postgres_fe.h"
|
||||
#include "libpq/crypt.h"
|
||||
#endif /* FRONTEND */
|
||||
|
||||
#ifdef MD5_ODBC
|
||||
#include "md5.h"
|
||||
#endif
|
||||
|
||||
#ifdef FRONTEND
|
||||
#undef palloc
|
||||
#define palloc malloc
|
||||
#undef pfree
|
||||
#define pfree free
|
||||
#endif
|
||||
#endif /* FRONTEND */
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user