summaryrefslogtreecommitdiff
path: root/libpq/postgresql/pg_config_ext.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-09-21 01:02:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-09 19:14:35 +0300
commit2a969b7f4bdb223d3626dc14b684701942ccafb2 (patch)
tree5b317acd47e5183b7dd127417cd0017c39f28f94 /libpq/postgresql/pg_config_ext.h
parent05ac4b76f5d30def9d51815c7f25d54316592f45 (diff)
Make package to be source rather than stub
Diffstat (limited to 'libpq/postgresql/pg_config_ext.h')
-rw-r--r--libpq/postgresql/pg_config_ext.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpq/postgresql/pg_config_ext.h b/libpq/postgresql/pg_config_ext.h
new file mode 100644
index 0000000..78a5178
--- /dev/null
+++ b/libpq/postgresql/pg_config_ext.h
@@ -0,0 +1,20 @@
+/* file : libpq/postgresql/pg_config_ext.h -*- C -*-
+ * copyright : Copyright (c) 2016-2017 Code Synthesis Ltd
+ * license : PostgreSQL License; see accompanying COPYRIGHT file
+ */
+
+/*
+ * For the semanics of the following macros refer to the
+ * libpq/postgresql/pg_config_ext.h.in.orig and
+ * libpq/postgresql/pg_config_ext.h.win32.orig file.
+ */
+
+/*
+ * 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