Commit 9eafa2b5 authored by Andres Freund's avatar Andres Freund

Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX.

UINT16_MAX usage is originating from commit 212e6f34.

Per buildfarm animal currawong.
parent 15334ad1
...@@ -40,7 +40,7 @@ extern const int fmgr_nbuiltins; /* number of entries in table */ ...@@ -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 * Mapping from a builtin function's oid to the index in the fmgr_builtins
* array. * array.
*/ */
#define InvalidOidBuiltinMapping UINT16_MAX #define InvalidOidBuiltinMapping PG_UINT16_MAX
extern const uint16 fmgr_builtin_oid_index[FirstBootstrapObjectId]; extern const uint16 fmgr_builtin_oid_index[FirstBootstrapObjectId];
#endif /* FMGRTAB_H */ #endif /* FMGRTAB_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment