diff options
Diffstat (limited to 'libpq/libpq/pg_config_os.h')
-rw-r--r-- | libpq/libpq/pg_config_os.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libpq/libpq/pg_config_os.h b/libpq/libpq/pg_config_os.h new file mode 100644 index 0000000..e616265 --- /dev/null +++ b/libpq/libpq/pg_config_os.h @@ -0,0 +1,21 @@ +/* file : libpq/pg_config_os.h -*- C -*- + * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd + * license : PostgreSQL License; see accompanying COPYRIGHT file + */ + +/* + * The upstream package makefile creates this file as a symlink to the + * target-specific header in src/include/port/. + */ + +#if defined(__linux__) +# include <include/port/linux.h> +#elif defined(__FreeBSD__) +# include <include/port/freebsd.h> +#elif defined(__APPLE__) +# include <include/port/darwin.h> +#elif defined(_WIN32) +# include <include/port/win32.h> +#else +# error this OS is not supported +#endif |