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

Commit 20750ad8 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Move fastboot's Mac OS code to C++.

Change-Id: I4f452860a401a115b6e8349237923949f2f476d1
parent dc80d03e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ ifeq ($(HOST_OS),linux)
endif

ifeq ($(HOST_OS),darwin)
  LOCAL_SRC_FILES += usb_osx.c util_osx.c
  LOCAL_SRC_FILES += usb_osx.cpp util_osx.cpp
  LOCAL_LDLIBS += -lpthread -framework CoreFoundation -framework IOKit -framework Carbon
  LOCAL_CFLAGS += -Wno-unused-parameter
endif
+0 −0

File moved.

+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
 * SUCH DAMAGE.
 */

#include "fastboot.h"

#import <Carbon/Carbon.h>
#include <unistd.h>