mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
One more hack to see if we can get the cygwin machines building again.
This continues the saga of trying to get PGDLLIMPORT to work in pg_crc.h in both backend and frontend environments.
This commit is contained in:
@ -23,10 +23,18 @@
|
|||||||
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.68 2008/09/24 09:00:44 mha Exp $
|
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.69 2008/11/14 21:45:07 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We have to use postgres.h not postgres_fe.h here, because there's so much
|
||||||
|
* backend-only stuff in the XLOG include files we need. But we need a
|
||||||
|
* frontend-ish environment otherwise. Hence this ugly hack.
|
||||||
|
*/
|
||||||
|
#define FRONTEND 1
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
Reference in New Issue
Block a user