Remove obsolete symbol from ecpg_config.h.in
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Apr 2024 06:27:25 +0000 (08:27 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Apr 2024 06:27:25 +0000 (08:27 +0200)
HAVE_LONG_LONG_INT was not added to ecpg_config.h.in by the meson
build system, but rather than add it there, we decided to remove it
from the makefile build system, to make both consistent that way.

There is no documentation or examples that suggest that the presence
of this symbol was publicly advertised, and of course the feature is
required by C99 (but we don't necessarily require C99 for ecpg user
code).  ecpg core code and ecpg tests use the symbol
HAVE_LONG_LONG_INT_64 instead, which is still there.

Discussion: https://www.postgresql.org/message-id/flat/bf35d032-02fc-4173-9f4f-840999cc3ef3%40eisentraut.org

src/interfaces/ecpg/include/ecpg_config.h.in

index 5d0f448a86618036eb550b169d5a53b48fd20cb0..824617b9175289ee79c81651db2088b06173ee76 100644 (file)
@@ -7,9 +7,6 @@
 /* Define to 1 if `long int' works and is 64 bits. */
 #undef HAVE_LONG_INT_64
 
-/* Define to 1 if the system has the type `long long int'. */
-#define HAVE_LONG_LONG_INT 1
-
 /* Define to 1 if `long long int' works and is 64 bits. */
 #undef HAVE_LONG_LONG_INT_64