tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Optionally make compat socklen_t default to int in bootstrap?

Hey folks,

bootstrap fails for me on an ancient SunOS machine and I am looking for the
proper way to make the 

typedef unsigned int socklen_t;

part of pkgtools/libnbcompat/files/nbcompat/netdb.h

use "int" instead of "unsigned int" when make gets OPSYS=SunOS.

At the source code level I would do:

typedef int socklen_t;
typedef unsigned int socklen_t;

(or similar) but I am not sure where to properly (and portably) put the
equivalent of 


without killing other systems.

Any hints?


Home | Main Index | Thread Index | Old Index