Fix a place that had a '\' but needed a '/'

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5359 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-11-15 19:35:15 +00:00
parent afda776368
commit 9129fb715b
2 changed files with 9 additions and 1 deletions

View File

@ -102,9 +102,15 @@ endif
# Create the list of available applications (INSTALLED_APPS)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ADD_BUILTIN
INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,)
INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,)
endef
else
define ADD_BUILTIN
INSTALLED_APPS += $(if $(wildcard $1/Makefile),$1,)
endef
endif
$(foreach BUILTIN, $(CONFIGURED_APPS), $(eval $(call ADD_BUILTIN,$(BUILTIN))))

View File

@ -250,6 +250,7 @@ static int send_query_socket(int sockfd, const char *name, struct sockaddr_in *a
return sendto(sockfd, buffer, query + 5 - buffer, 0, (struct sockaddr*)addr, ADDRLEN);
}
#if 0 /* Not used */
#ifdef CONFIG_NET_IPv6
static int send_query(const char *name, struct sockaddr_in6 *addr)
#else
@ -258,6 +259,7 @@ static int send_query(const char *name, struct sockaddr_in *addr)
{
return send_query_socket(g_sockfd, name, addr);
}
#endif
/* Called when new UDP data arrives */