aboutsummaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-12-28 02:13:05 +0000
committerBruce Momjian <bruce@momjian.us>1996-12-28 02:13:05 +0000
commitcb6cb7745d426e712314f6b92e79a63bd32b3759 (patch)
tree3738a6a452923a8c35a63da6382818a00a08c95d /src/include/config.h
parenta2b7f629766cac6b2566fc2ed21055f6653a5285 (diff)
downloadpostgresql-cb6cb7745d426e712314f6b92e79a63bd32b3759.tar.gz
postgresql-cb6cb7745d426e712314f6b92e79a63bd32b3759.zip
Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a full
gmake of the code without interruption. There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that all supported platforms have MAXPATHLEN defined in <sys/param.h>. (The only unknowns for the above are AIX and IRIX5.)
Diffstat (limited to 'src/include/config.h')
-rw-r--r--src/include/config.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/config.h b/src/include/config.h
index 8e4d841c1ac..f7042b92995 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -8,13 +8,6 @@
#define BLCKSZ 8192
-/* Found in catalog/catalog.c, but doesn't seem to do anything in there */
-#if !defined(sparc_solaris)
-#ifndef MAXPATHLEN
-#define MAXPATHLEN 80
-#endif
-#endif /* !defined(sparc_solaris) */
-
#if defined(aix)
#define TERMIOS_H_LOCATION <termios.h>
#else
@@ -200,6 +193,9 @@ typedef unsigned char slock_t;
# define HAVE_TZSET
# define NEED_CBRT
# define NEED_ISINF
+# ifndef MAXPATHLEN
+# define MAXPATHLEN 250
+# endif
#endif /* WIN32 */
#if defined(ultrix4)