mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove a few places that attempted to define INT_MAX, SCHAR_MAX, and
similar constants if they were not previously defined. All these constants must be defined by limits.h according to C89, so we can safely assume they are present.
This commit is contained in:
@ -31,6 +31,8 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "libpq-fe.h"
|
||||
#include "fmgr.h"
|
||||
#include "funcapi.h"
|
||||
@ -1112,9 +1114,6 @@ dblink_get_pkey(PG_FUNCTION_ARGS)
|
||||
}
|
||||
|
||||
|
||||
#ifndef SHRT_MAX
|
||||
#define SHRT_MAX (0x7FFF)
|
||||
#endif
|
||||
/*
|
||||
* dblink_build_sql_insert
|
||||
*
|
||||
|
Reference in New Issue
Block a user