1
0
Fork 0
forked from len0rd/rockbox

defined APPSVERSION for win32 simulator and defined strncasecmp

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1390 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Felix Arends 2002-07-20 15:07:38 +00:00
parent b76bd063fb
commit 2b79949c94
2 changed files with 9 additions and 4 deletions

View file

@ -38,10 +38,10 @@ KEYPAD = -DHAVE_PLAYER_KEYPAD
CC = cl
RC = rc
LINK = link
DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR $(KEYPAD) $(DISPLAY)
LDFLAGS = /OUT:uisw32.exe /SUBSYSTEM:windows
DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"WIN32SIM\"
LDFLAGS = /OUT:uisw32.exe /SUBSYSTEM:windows /NOLOGO /MACHINE:IX86 kernel32.lib user32.lib gdi32.lib
INCLUDES = -I$(FIRMWAREDIR) -I$(DRIVERS) -I$(COMMON) -I$(SIMDIR) -I$(APPDIR) -I$(RECDIR)
LIBS = /DEFAULTLIB:gdi32.lib /DEFAULTLIB:user32.lib
#LIBS = /DEFAULTLIB:gdi32.lib /DEFAULTLIB:user32.lib
CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) /MD /Fd"Release/vc70.pdb" /c
@ -65,4 +65,4 @@ uisw32.exe: $(SRCS:.c=.obj)
clean:
$(RM) *.obj
$(RM) uisw32.res
$(RM) uisw32.exe
$(RM) uisw32.exe

View file

@ -20,6 +20,11 @@
#include <string.h>
int strcasecmp (const char *a, const char *b)
{
return strcmp (a, b);
}
int strncasecmp (const char *a, const char *b)
{
return strcmpi (a, b);
}