Changeset 3024


Ignore:
Timestamp:
Apr 7, 2007, 8:53:46 AM (18 years ago)
Author:
bird
Message:

INET_ADDRSTRLEN. Ref #127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/libc-0.6/src/emx/include/netinet/in.h

    r1505 r3024  
    11/* Modified for emx by hv and em 1994,1996
    22 * Modified for gcc/os2 by bird 2003
     3 * Modified for kLIBC by bird 2007, added INET_ADDRSTRLEN.
    34 *
    45 * Copyright (c) 1982, 1986, 1990 Regents of the University of California.
     
    4546
    4647#include <sys/param.h>          /* htons() etc. */
    47 
    48 #if defined (__cplusplus)
    49 extern "C" {
     48/* added 2007: */
     49#include <sys/cdefs.h>
     50#include <sys/_types.h>
     51#include <machine/endian.h>
     52
     53__BEGIN_DECLS
     54
     55/* added 2007: */
     56#if __POSIX_VISIBLE >= 200112
     57#define INET_ADDRSTRLEN         16
    5058#endif
    5159
     
    298306#endif /*TCPV40HDRS (else) */
    299307
    300 #if defined (__cplusplus)
    301 }
    302 #endif
     308__END_DECLS
    303309
    304310#endif /* !_NETINET_IN_H_ */
Note: See TracChangeset for help on using the changeset viewer.