Skip to content

Commit 9eafa2b

Browse files
committed
Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX.
UINT16_MAX usage is originating from commit 212e6f3. Per buildfarm animal currawong.
1 parent 15334ad commit 9eafa2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/utils/fmgrtab.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern const int fmgr_nbuiltins; /* number of entries in table */
4040
* Mapping from a builtin function's oid to the index in the fmgr_builtins
4141
* array.
4242
*/
43-
#define InvalidOidBuiltinMapping UINT16_MAX
43+
#define InvalidOidBuiltinMapping PG_UINT16_MAX
4444
extern const uint16 fmgr_builtin_oid_index[FirstBootstrapObjectId];
4545

4646
#endif /* FMGRTAB_H */

0 commit comments

Comments
 (0)