unreachable.diff

text/x-patch

Filename: unreachable.diff
Type: text/x-patch
Part: 0
Message: Macro redefinition warning after aeb07c55fab5c17a600b77ffcdc3b71425d6a8e7

Patch

Format: unified
File+
src/timezone/private.h 2 0
diff --git i/src/timezone/private.h w/src/timezone/private.h
index 0d02e620b6..2a9f22816a 100644
--- i/src/timezone/private.h
+++ w/src/timezone/private.h
@@ -184,7 +184,9 @@
  */
 #define INITIALIZE(x)	((x) = 0)
 
+#if __STDC_VERSION__ < 202311 && !defined unreachable
 #define unreachable() pg_unreachable()
+#endif
 
 /*
  * For the benefit of GNU folk...