Included is a patch for ecpg which seems to have some compiling
authorBruce Momjian
Sun, 26 Apr 1998 23:14:39 +0000 (23:14 +0000)
committerBruce Momjian
Sun, 26 Apr 1998 23:14:39 +0000 (23:14 +0000)
problems on non POSIX systems such as SunOS 4.1.x.  -- Tatsuo Ishii
[email protected] -

src/interfaces/ecpg/preproc/pgc.l

index a2b6770bd8a7d8e8180b5d0b13958472cbabebf9..cc6bbcb3bdc36cd4fa470bf1259193a5a4c1b282 100644 (file)
@@ -5,6 +5,12 @@
 #include 
 #include 
 #include 
+
+#ifndef PATH_MAX
+#include 
+#define PATH_MAX MAXPATHLEN
+#endif
+
 #if defined(HAVE_STRING_H)
 #include 
 #else