Permalink
Browse files

getservbyport replacement for Win CE

  • Loading branch information...
1 parent 5e5c013 commit 74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6 @yangtse yangtse committed Mar 27, 2011
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 because the diff is too large. Please use a local Git client to view these changes.
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 */

0 comments on commit 74f1bd8

Please sign in to comment.