desktop: more cygwin fixes

This commit is contained in:
Andrew Tridgell 2011-10-11 21:33:31 +11:00
parent 75d31dcc4c
commit 25d07075b7
2 changed files with 7 additions and 1 deletions

View File

@ -170,7 +170,8 @@ else
LIBTOKENS := $(sort $(shell cat $(SKETCHPDESRCS) $(SKETCHSRCS) | sed -nre $(SEXPR)))
endif
NODESKTOP := FastSerial/FastSerial.cpp
# these are library objects we don't want in the desktop build (maybe we'll add them later)
NODESKTOP := FastSerial/FastSerial.cpp AP_Compass/AP_Compass_HMC5843.cpp APM_BMP085/APM_BMP085.cpp
#
# Find sketchbook libraries referenced by the sketch.

View File

@ -71,6 +71,11 @@ int strcasecmp_P(PGM_P str1, PGM_P str2)
return strcasecmp(str1, str2);
}
int strcmp_P(PGM_P str1, PGM_P str2)
{
return strcmp(str1, str2);
}
void digitalWrite(uint8_t pin, uint8_t val)
{