Merge "Fix compiler warnings on Windows in CopyFile.c"

am: b327f61f50

* commit 'b327f61f50c5bf42dc61f5d1bc946f7e4edb7ccf':
  Fix compiler warnings on Windows in CopyFile.c
This commit is contained in:
Christopher Wiley 2016-01-04 17:02:44 +00:00 committed by android-build-merger
commit 5f2422beb1
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
CopyFile.c
LOCAL_CFLAGS := -Werror -Wall
LOCAL_CFLAGS_darwin += -DMACOSX_RSRC
LOCAL_MODULE:= libhost

View file

@ -25,6 +25,7 @@
#include <assert.h>
#if defined(_WIN32)
#include <direct.h> /* For _mkdir() */
# define mkdir(path,mode) _mkdir(path)
# define S_ISLNK(s) 0
# define lstat stat