mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
config.reuseaddr.c: There is no __MINGW__
GSIMap.h: Don't memcpy to/from a null pointer Tools/GNUmakefile: Don't hardcode obj dir, use the makefile variable. Added some svn ignore files. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d20644264
commit
bc4fbce35e
3 changed files with 4 additions and 4 deletions
|
@ -427,9 +427,9 @@ GSIMapMoreNodes(GSIMapTable map, unsigned required)
|
|||
size_t chunkCount;
|
||||
size_t chunkSize;
|
||||
|
||||
memcpy(newArray, map->nodeChunks, (map->chunkCount)*sizeof(GSIMapNode));
|
||||
if (map->nodeChunks != 0)
|
||||
{
|
||||
memcpy(newArray, map->nodeChunks, (map->chunkCount)*sizeof(GSIMapNode));
|
||||
NSZoneFree(map->zone, map->nodeChunks);
|
||||
}
|
||||
map->nodeChunks = newArray;
|
||||
|
|
|
@ -90,7 +90,7 @@ autogsdoc_AGSDOC_FILES = autogsdoc.m \
|
|||
autogsdoc_DOC_INSTALL_DIR = Developer/Tools
|
||||
|
||||
# Use local version of autogsdoc in case it is not installed
|
||||
AUTOGSDOC=./obj/autogsdoc
|
||||
AUTOGSDOC=./$(GNUSTEP_OBJ_PREFIX)/autogsdoc
|
||||
|
||||
include Makefile.preamble
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved.
|
||||
*/
|
||||
#if defined(__MINGW__) || defined(__MINGW32__)
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
|
@ -16,7 +16,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <signal.h>
|
||||
#endif /* __MINGW__ */
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue