Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Move fastboot's Mac OS code to C++.
Browse files Browse the repository at this point in the history
Change-Id: I4f452860a401a115b6e8349237923949f2f476d1
  • Loading branch information
enh-google committed Jun 24, 2015
1 parent dc80d03 commit 20750ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fastboot/Android.mk
Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions fastboot/util_osx.c → fastboot/util_osx.cpp
Expand Up @@ -26,6 +26,8 @@
* SUCH DAMAGE.
*/

#include "fastboot.h"

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

Expand Down

0 comments on commit 20750ad

Please sign in to comment.