summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2019-08-21 19:33:05 +0000
committerPeter Eisentraut2019-08-21 19:36:54 +0000
commitc45643d618e35ec2fe91438df15abd4f3c0d85ca (patch)
treea2d49f7a5ed6eda2147b84101259169ffe7b98c2 /src/include
parent8f75e8e44609335e6bdd73123284682235f242a2 (diff)
Remove configure detection of crypt()
crypt() hasn't been needed since crypt detection was removed from PostgreSQL, so these configure checks are not necessary. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/21f88934-f00c-27f6-a9d8-7ea06d317781%402ndquadrant.com
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pg_config.h.in6
-rw-r--r--src/include/pg_config.h.win326
-rw-r--r--src/include/port.h3
3 files changed, 0 insertions, 15 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index 512213aa32f..d876926c21a 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -123,15 +123,9 @@
/* Define to 1 if you have the <crtdefs.h> header file. */
#undef HAVE_CRTDEFS_H
-/* Define to 1 if you have the `crypt' function. */
-#undef HAVE_CRYPT
-
/* Define to 1 if you have the `CRYPTO_lock' function. */
#undef HAVE_CRYPTO_LOCK
-/* Define to 1 if you have the <crypt.h> header file. */
-#undef HAVE_CRYPT_H
-
/* Define to 1 if you have the declaration of `fdatasync', and to 0 if you
don't. */
#undef HAVE_DECL_FDATASYNC
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 2d903c82b80..fc50528590a 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -93,12 +93,6 @@
/* Define to 1 if your compiler handles computed gotos. */
/* #undef HAVE_COMPUTED_GOTO */
-/* Define to 1 if you have the `crypt' function. */
-/* #undef HAVE_CRYPT */
-
-/* Define to 1 if you have the <crypt.h> header file. */
-/* #undef HAVE_CRYPT_H */
-
/* Define to 1 if you have the declaration of `fdatasync', and to 0 if you
don't. */
#define HAVE_DECL_FDATASYNC 0
diff --git a/src/include/port.h b/src/include/port.h
index ff527952ab9..55619d893ce 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -330,9 +330,6 @@ extern int gettimeofday(struct timeval *tp, struct timezone *tzp);
* Default "extern" declarations or macro substitutes for library routines.
* When necessary, these routines are provided by files in src/port/.
*/
-#ifndef HAVE_CRYPT
-extern char *crypt(const char *key, const char *setting);
-#endif
/* WIN32 handled in port/win32_port.h */
#ifndef WIN32