summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorPeter Eisentraut2019-11-07 12:30:04 +0000
committerPeter Eisentraut2019-11-07 12:30:04 +0000
commiteffa40281bb1f6c71e81c980f86852ab3be603c3 (patch)
treec5897e93b6abacc7dbc1df4b5acdf11654e2dab1 /src/include/c.h
parent581a55889ba7f76dd87a270e37e5137f684bfdb7 (diff)
Remove HAVE_LONG_LONG_INT
The presence of long long int is now implied in the requirement for C99 and the configure check for the same. We keep the define hard-coded in ecpg_config.h for backward compatibility with ecpg-using user code. Discussion: https://www.postgresql.org/message-id/flat/5cdd6a2b-b2c7-c6f6-344c-a406d5c1a254%402ndquadrant.com
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index d752cc07dcc..16b428daa14 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -1203,7 +1203,6 @@ typedef union PGAlignedXLogBlock
extern int fdatasync(int fildes);
#endif
-#ifdef HAVE_LONG_LONG_INT
/* Older platforms may provide strto[u]ll functionality under other names */
#if !defined(HAVE_STRTOLL) && defined(HAVE___STRTOLL)
#define strtoll __strtoll
@@ -1232,7 +1231,6 @@ extern long long strtoll(const char *str, char **endptr, int base);
#if defined(HAVE_STRTOULL) && !HAVE_DECL_STRTOULL
extern unsigned long long strtoull(const char *str, char **endptr, int base);
#endif
-#endif /* HAVE_LONG_LONG_INT */
#if !defined(HAVE_MEMMOVE) && !defined(memmove)
#define memmove(d, s, c) bcopy(s, d, c)