mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
allow building the cartridge against PostgreSQL 16 (#6580)
This commit is contained in:
committed by
greg landrum
parent
20a759c8b7
commit
f56db7ea76
@@ -39,6 +39,14 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <postgres.h>
|
||||
#ifdef PG_VERSION_NUM
|
||||
#if PG_VERSION_NUM >= 160000
|
||||
#include <varatt.h>
|
||||
#ifndef Abs
|
||||
#define Abs(x) ((x) >= 0 ? (x) : -(x))
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef bytea Mol;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user