]> code.delx.au - gnu-emacs/blobdiff - src/conf_post.h
* src/conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Increase.
[gnu-emacs] / src / conf_post.h
index 047e3575e1969237720a25069d33da1cdb51ee38..bea2a8a587f2ae3864d14c37b48087fcd420f3cb 100644 (file)
@@ -134,6 +134,9 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
 # define HAVE_LSTAT 1
 #else
 # define lstat stat
+/* DJGPP 2.03 and older don't have the next two.  */
+# define EOVERFLOW ERANGE
+# define SIZE_MAX  4294967295U
 #endif
 
 /* We must intercept 'opendir' calls to stash away the directory name,
@@ -178,7 +181,7 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
 #endif
 
 #ifdef CYGWIN
-#define SYSTEM_PURESIZE_EXTRA 10000
+#define SYSTEM_PURESIZE_EXTRA 50000
 #endif
 
 #if defined HAVE_NTGUI && !defined DebPrint
@@ -340,9 +343,8 @@ extern int emacs_setenv_TZ (char const *);
 # define FLEXIBLE_ARRAY_MEMBER
 #endif
 
-/* Use this to suppress gcc's `...may be used before initialized' warnings. */
-#ifdef lint
 /* Use CODE only if lint checking is in effect.  */
+#if defined GCC_LINT || defined lint
 # define IF_LINT(Code) Code
 #else
 # define IF_LINT(Code) /* empty */