# HG changeset patch # User Yoshiki Yazawa # Date 1354281010 -32400 # Node ID 1ee15e2dc3863828cca5eb7330b5dc8bb635bea2 # Parent 83b2f2fc3d4b5353e85e7b546847248070c6c6ea added support for macosx diff -r 83b2f2fc3d4b -r 1ee15e2dc386 Makefile --- a/Makefile Mon Oct 31 14:11:15 2011 +0900 +++ b/Makefile Fri Nov 30 22:10:10 2012 +0900 @@ -4,7 +4,8 @@ OBJS = ${SRCS:.c=.o} CC = gcc -CFLAGS = -O0 -Wall -g -I/usr/include/libusb-1.0 +#CFLAGS = -O0 -Wall -g -I/usr/include/libusb-1.0 +CFLAGS = -O0 -Wall -g -I/usr/local/include/libusb-1.0 LDFLAGS = -lhid -lusb all: $(APPS) diff -r 83b2f2fc3d4b -r 1ee15e2dc386 cdcnv.c --- a/cdcnv.c Mon Oct 31 14:11:15 2011 +0900 +++ b/cdcnv.c Fri Nov 30 22:10:10 2012 +0900 @@ -15,7 +15,7 @@ #include #include "debug.h" -#if defined(__FreeBSD__) || defined(linux) +#if defined(__FreeBSD__) || defined(linux) || defined(__APPLE__) #define stricmp(s, c) strcasecmp(s, c) #endif