diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index fcd3c6bb5b4037691e0af4d23e4295f489499f79..62932c200563493029146b50e257f80e46e55148 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -343,14 +343,14 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message)
 #else							/* (HAVE_LANGINFO_H && CODESET) || WIN32 */
 
 /*
- * stub if no platform support
+ * stub if no multi-language platform support
  *
  * Note: we could return -1 here, but that would have the effect of
  * forcing users to specify an encoding to initdb on such platforms.
  * It seems better to silently default to SQL_ASCII.
  */
 int
-pg_get_encoding_from_locale(const char *ctype)
+pg_get_encoding_from_locale(const char *ctype, bool write_message)
 {
 	return PG_SQL_ASCII;
 }