PostgreSQL Source Code git master
solaris.h
Go to the documentation of this file.
1/* src/include/port/solaris.h */
2
3#if defined(__i386__)
4#include <sys/isa_defs.h>
5#endif
6
7/*
8 * On original Solaris, PAM conversation procs lack a "const" in their
9 * declaration; but recent OpenIndiana versions put it there by default.
10 * The least messy way to deal with this is to define _PAM_LEGACY_NONCONST,
11 * which causes OpenIndiana to declare pam_conv per the Solaris tradition,
12 * and also use that symbol to control omitting the "const" in our own code.
13 */
14#define _PAM_LEGACY_NONCONST 1