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:
parent
b76bd063fb
commit
2b79949c94
2 changed files with 9 additions and 4 deletions
|
@ -38,10 +38,10 @@ KEYPAD = -DHAVE_PLAYER_KEYPAD
|
||||||
CC = cl
|
CC = cl
|
||||||
RC = rc
|
RC = rc
|
||||||
LINK = link
|
LINK = link
|
||||||
DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR $(KEYPAD) $(DISPLAY)
|
DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"WIN32SIM\"
|
||||||
LDFLAGS = /OUT:uisw32.exe /SUBSYSTEM:windows
|
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)
|
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
|
CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) /MD /Fd"Release/vc70.pdb" /c
|
||||||
|
|
||||||
|
@ -65,4 +65,4 @@ uisw32.exe: $(SRCS:.c=.obj)
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.obj
|
$(RM) *.obj
|
||||||
$(RM) uisw32.res
|
$(RM) uisw32.res
|
||||||
$(RM) uisw32.exe
|
$(RM) uisw32.exe
|
||||||
|
|
|
@ -20,6 +20,11 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
int strcasecmp (const char *a, const char *b)
|
int strcasecmp (const char *a, const char *b)
|
||||||
|
{
|
||||||
|
return strcmp (a, b);
|
||||||
|
}
|
||||||
|
|
||||||
|
int strncasecmp (const char *a, const char *b)
|
||||||
{
|
{
|
||||||
return strcmpi (a, b);
|
return strcmpi (a, b);
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue