From 9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Wed, 4 Oct 2017 10:01:02 -0700 Subject: [PATCH] Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX. UINT16_MAX usage is originating from commit 212e6f34d55c. Per buildfarm animal currawong. --- src/include/utils/fmgrtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/utils/fmgrtab.h b/src/include/utils/fmgrtab.h index 515a9d596a..4d06b02578 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 */