Commit 24933075 authored by Ken Brown's avatar Ken Brown
Browse files

Cygwin build cleanup (Bug#6715).

* mem-limits.h (BSD4_2) [cygwin]: Don't define here; instead...
* vm-limit.c: ...add 'defined (CYGWIN)' here.
parent 192cfe77
2010-07-25 Ken Brown <kbrown@cornell.edu>
* mem-limits.h (BSD4_2) [cygwin]: Don't define here; instead...
* vm-limit.c: ...add 'defined (CYGWIN)' here (Bug#6715).
2010-07-25 Juanma Barranquero <lekktu@gmail.com>
 
* callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
......
......@@ -34,10 +34,6 @@ extern int etext;
# endif
#endif
#ifdef CYGWIN
#define BSD4_2
#endif
#ifdef BSD4_2
#include <sys/time.h>
#include <sys/resource.h>
......
......@@ -100,7 +100,7 @@ get_lim_data (void)
}
#else
#if !defined (BSD4_2) && !defined (__osf__)
#if !defined (BSD4_2) && !defined (__osf__) && !defined (CYGWIN)
#ifdef MSDOS
void
......@@ -173,9 +173,9 @@ static void
check_memory_limits (void)
{
#ifdef REL_ALLOC
extern POINTER (*real_morecore) (SIZE);
extern POINTER (*real_morecore) ();
#endif
extern POINTER (*__morecore) (SIZE);
extern POINTER (*__morecore) ();
register POINTER cp;
unsigned long five_percent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment