Re: Non-standard types in public header files

2005-08-13 Thread Albert Chin
On Fri, Aug 12, 2005 at 06:45:16PM +0200, Simon Josefsson wrote: Now that I think about this, one solution may be to avoid defining ssize_t altogether. Instead: @SSIZE_T@ gnutls_record_send( gnutls_session_t session, const void *data, size_t sizeofdata); @SSIZE_T@ gnutls_record_recv(

Re: Non-standard types in public header files (was: Re: ssize_t)

2005-08-12 Thread Stepan Kasal
Hello, this mail is a lengthy story to the most abstract solution and back to the basic one. Sorry, I couldn't have helped. The problem, of course, is that the installed header file cannot assume a config.h and the HAVE_* stuff. Indeed, this is the root of the problem. You try to find a

Re: Non-standard types in public header files

2005-08-12 Thread Simon Josefsson
Stepan Kasal [EMAIL PROTECTED] writes: Hello, this mail is a lengthy story to the most abstract solution and back to the basic one. Sorry, I couldn't have helped. The problem, of course, is that the installed header file cannot assume a config.h and the HAVE_* stuff. Indeed, this is the