Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6ef1bfe authored by Christopher Wiley's avatar Christopher Wiley Committed by android-build-merger
Browse files

Merge "Fix compiler warnings on Windows in CopyFile.c" am: b327f61f

am: 5f2422be

* commit '5f2422be':
  Fix compiler warnings on Windows in CopyFile.c
parents 7daced2e 5f2422be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
    CopyFile.c

LOCAL_CFLAGS := -Werror -Wall
LOCAL_CFLAGS_darwin += -DMACOSX_RSRC

LOCAL_MODULE:= libhost
+1 −0
Original line number Diff line number Diff line
@@ -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