OSDN Git Service

* src/util.c (memmove): use HAVE_MEMMOVE.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 25 May 2002 06:57:49 +0000 (06:57 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 25 May 2002 06:57:49 +0000 (06:57 +0000)
(mkdir): use HAVE_WORKING_FORK.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@92 6a8cc165-1e22-0410-a132-eb4e3f353aba

src/util.c

index 336b2d0..d1be4fa 100644 (file)
@@ -200,7 +200,7 @@ strdup(buf)
  */
 
 /* ------------------------------------------------------------------------ */
-#if defined(NOBSTRING) && !defined(__STDC__)
+#ifndef HAVE_MEMMOVE
 void           *
 memmove(dst, src, cnt)
        register char  *dst, *src;
@@ -263,7 +263,7 @@ rename(from, to)
 #endif                         /* !HAVE_FTRUNCATE */
 /* ------------------------------------------------------------------------ */
 
-#ifndef        HAVE_MKDIR
+#if !HAVE_MKDIR && HAVE_WORKING_FORK
 #ifndef        MKDIRPATH
 #define        MKDIRPATH       "/bin/mkdir"
 #endif