diff options
author | Andres Freund | 2017-10-04 17:01:02 +0000 |
---|---|---|
committer | Andres Freund | 2017-10-04 17:01:02 +0000 |
commit | 9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1 (patch) | |
tree | c7b7c494821b5b8ce164c70a3056c3aaec7330ef /src/include/utils/fmgrtab.h | |
parent | 15334ad19a776f76cbb725e4e9162a7bce1bd4d0 (diff) |
Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX.
UINT16_MAX usage is originating from commit 212e6f34d55c.
Per buildfarm animal currawong.
Diffstat (limited to 'src/include/utils/fmgrtab.h')
-rw-r--r-- | src/include/utils/fmgrtab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/fmgrtab.h b/src/include/utils/fmgrtab.h index 515a9d596af..4d06b02578e 100644 --- a/src/include/utils/fmgrtab.h +++ b/src/include/utils/fmgrtab.h @@ -40,7 +40,7 @@ extern const int fmgr_nbuiltins; /* number of entries in table */ * Mapping from a builtin function's oid to the index in the fmgr_builtins * array. */ -#define InvalidOidBuiltinMapping UINT16_MAX +#define InvalidOidBuiltinMapping PG_UINT16_MAX extern const uint16 fmgr_builtin_oid_index[FirstBootstrapObjectId]; #endif /* FMGRTAB_H */ |