Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

getservbyport replacement for Win CE

  • Loading branch information...
commit 74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6 1 parent 5e5c013
@yangtse yangtse authored
Showing with 10,979 additions and 1 deletion.
  1. +10,972 −1 ares_platform.c
  2. +7 −0 ares_platform.h
View
10,973 ares_platform.c
10,972 additions, 1 deletion not shown
View
7 ares_platform.h
@@ -3,6 +3,7 @@
/* Copyright 1998 by the Massachusetts Institute of Technology.
+ * Copyright (C) 2004 - 2011 by Daniel Stenberg et al
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
@@ -33,4 +34,10 @@ win_platform ares__getplatform(void);
#endif
+#if defined(_WIN32_WCE)
+
+struct servent *getservbyport(int port, const char *proto);
+
+#endif
+
#endif /* HEADER_CARES_PLATFORM_H */
Please sign in to comment.
Something went wrong with that request. Please try again.