postgres.git / summary / log / commit / refs

commit    9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1
Author:   Andres Freund <andres@anarazel.de>
Date:     Wed Oct 04 17:01:02 2017 +0000
First released in: 11.0

    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 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 */ [parent: 15334ad19a77]