瀏覽代碼

Add in a weak __mempcpy for mempcpy to make certain GNU
programs happy. bother...

Eric Andersen 23 年之前
父節點
當前提交
670b96a445
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/string/string.c

+ 1 - 0
libc/string/string.c

@@ -321,6 +321,7 @@ void *mempcpy(void *dst, const void *src, size_t len)
 
 	return (void *) a;
 }
+weak_alias(mempcpy, __mempcpy);
 #endif
 
 /********************** Function memccpy ************************************/