changeset 11:1ee15e2dc386 default tip

added support for macosx
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 30 Nov 2012 22:10:10 +0900
parents 83b2f2fc3d4b
children
files Makefile cdcnv.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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 <stdio.h>
 #include "debug.h"
 
-#if defined(__FreeBSD__) || defined(linux)
+#if defined(__FreeBSD__) || defined(linux) || defined(__APPLE__)
 #define stricmp(s, c) strcasecmp(s, c)
 #endif