OSDN Git Service

Fix compiler warnings on Windows in CopyFile.c
authorChristopher Wiley <wiley@google.com>
Wed, 30 Dec 2015 20:24:40 +0000 (12:24 -0800)
committerChristopher Wiley <wiley@google.com>
Wed, 30 Dec 2015 20:30:58 +0000 (12:30 -0800)
commit676799f23d935b64873ccf5b1bf9b475cb392ea3
treec3a02c47e40dc0a8e7bf07f1f04874c41ae03c2f
parent530d99446a02912387ea45c1d1d35a7d1bd39829
Fix compiler warnings on Windows in CopyFile.c

direct.h declares _mkdir() on Windows.

Prevent future compiler warnings with -Wall and -Werror.

Bug: 26355209
Test: `mmma -j30 build/libs/host` for aosp_arm64-eng is successful.

Change-Id: I6d6e4edca98bef57d62829e9d1ef4e2a96cdad3d
libs/host/Android.mk
libs/host/CopyFile.c