Remove non-Openstep classes. More WIN32 changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2000-06-13 14:50:40 +00:00
parent 7066b8e47f
commit 90f99a043c
12 changed files with 84 additions and 57 deletions

View file

@ -25,6 +25,9 @@
#include <base/preface.h>
#include <Foundation/NSZone.h>
#include <string.h>
#ifdef __WIN32__
#include <malloc.h>
#endif
#ifndef __MINGW__
#include <unistd.h>
#endif
@ -136,7 +139,11 @@ NSAllocateMemoryPages (unsigned bytes)
return NULL;
return where;
#else
#if HAVE_VALLOC
where = valloc (bytes);
#else
where = malloc (bytes);
#endif
if (where == NULL)
return NULL;
memset (where, 0, bytes);