diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/c.h | 7 | ||||
-rw-r--r-- | src/include/pg_config.h.in | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h index 201552d72b7..74bf434acb9 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.112 2001/12/02 11:38:40 petere Exp $ + * $Id: c.h,v 1.113 2001/12/03 17:44:52 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -302,6 +302,11 @@ typedef unsigned long int uint64; #endif /* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */ +/* sig_atomic_t is required by ANSI C, but may be missing on old platforms */ +#ifndef HAVE_SIG_ATOMIC_T +typedef int sig_atomic_t; +#endif + /* * Size * Size of any memory resident object, as returned by sizeof. diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 19766b81830..8e84fa42197 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -8,7 +8,7 @@ * or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your * changes will be overwritten the next time you run configure. * - * $Id: pg_config.h.in,v 1.14 2001/12/02 11:38:40 petere Exp $ + * $Id: pg_config.h.in,v 1.15 2001/12/03 17:44:52 tgl Exp $ */ #ifndef PG_CONFIG_H @@ -697,10 +697,13 @@ extern int fdatasync(int fildes); /* Define if you have on_exit() */ #undef HAVE_ON_EXIT +/* Define if the corresponding types are defined in standard headers */ #undef HAVE_INT8 #undef HAVE_UINT8 #undef HAVE_INT64 #undef HAVE_UINT64 +#undef HAVE_SIG_ATOMIC_T + /* *------------------------------------------------------------------------ |