f7277a071c
Closes https://trac.osgeo.org/postgis/ticket/4213 Closes https://github.com/postgis/postgis/pull/322 git-svn-id: http://svn.osgeo.org/postgis/trunk@16958 b70326c6-7e19-0410-871a-916f4a2858ee
12 lines
268 B
C
12 lines
268 B
C
#ifndef _PGSQL_COMPAT_H
|
|
#define _PGSQL_COMPAT_H 1
|
|
|
|
#include "access/tupdesc.h"
|
|
|
|
/* TupleDescAttr was backported into 9.6.5 but we support any 9.6.X */
|
|
#ifndef TupleDescAttr
|
|
#define TupleDescAttr(tupdesc, i) ((tupdesc)->attrs[(i)])
|
|
#endif
|
|
|
|
#endif /* _PGSQL_COMPAT_H */
|