Merge "Move fastboot's Mac OS code to C++."
This commit is contained in:
commit
feddd582e7
3 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ ifeq ($(HOST_OS),linux)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS),darwin)
|
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_LDLIBS += -lpthread -framework CoreFoundation -framework IOKit -framework Carbon
|
||||||
LOCAL_CFLAGS += -Wno-unused-parameter
|
LOCAL_CFLAGS += -Wno-unused-parameter
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "fastboot.h"
|
||||||
|
|
||||||
#import <Carbon/Carbon.h>
|
#import <Carbon/Carbon.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue