aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-10-04 10:01:02 -0700
committerAndres Freund <andres@anarazel.de>2017-10-04 10:01:02 -0700
commit9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1 (patch)
treec7b7c494821b5b8ce164c70a3056c3aaec7330ef /src
parent15334ad19a776f76cbb725e4e9162a7bce1bd4d0 (diff)
downloadpostgresql-9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1.tar.gz
postgresql-9eafa2b5b043b84fb9846bd7a57d15ed1ee220c1.zip
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')
-rw-r--r--src/include/utils/fmgrtab.h2
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 */