getservbyport replacement for Win CE

pull/4/head
Yang Tse 14 years ago
parent 5e5c0132e6
commit 74f1bd8c22
  1. 10973
      ares_platform.c
  2. 7
      ares_platform.h

File diff suppressed because it is too large Load Diff

@ -3,6 +3,7 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* 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 * Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without * software and its documentation for any purpose and without
@ -33,4 +34,10 @@ win_platform ares__getplatform(void);
#endif #endif
#if defined(_WIN32_WCE)
struct servent *getservbyport(int port, const char *proto);
#endif
#endif /* HEADER_CARES_PLATFORM_H */ #endif /* HEADER_CARES_PLATFORM_H */

Loading…
Cancel
Save