summaryrefslogtreecommitdiff
path: root/libpq/libpq/pg_config_ext.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-30 22:37:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-12-06 15:11:04 +0300
commitf1f39911e0d2d88c98eae96a3eb14a53c664206f (patch)
tree4cf4e3a84d895f59323d3b6ab4bfab38b3cab489 /libpq/libpq/pg_config_ext.h
parentfc9499b8a7b7a3e350bfabf2cd6ae0bc13f04bea (diff)
Upgrade to 12.1
Diffstat (limited to 'libpq/libpq/pg_config_ext.h')
-rw-r--r--libpq/libpq/pg_config_ext.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libpq/libpq/pg_config_ext.h b/libpq/libpq/pg_config_ext.h
new file mode 100644
index 0000000..e3a9abe
--- /dev/null
+++ b/libpq/libpq/pg_config_ext.h
@@ -0,0 +1,19 @@
+/* file : libpq/pg_config_ext.h -*- C -*-
+ * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+ * license : PostgreSQL License; see accompanying COPYRIGHT file
+ */
+
+/*
+ * For the semantics of the following macros refer to pg_config_ext.h.in.orig,
+ * pg_config_ext.h.win32.orig, and the upstream's configure.in.
+ */
+
+/*
+ * Note that <stdint.h> is invented by C99 and we can't expect that the libpq
+ * client is compiled according to this standard. However, when compile with
+ * GCC, Clang or VC, even requesting C90 standard explicitly, then the header
+ * and int64_t type are both available.
+ */
+#include <stdint.h>
+
+#define PG_INT64_TYPE int64_t