bug-gnulib
[Top][All Lists]
Advanced

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

Re: stdint module rewrite


From: Simon Josefsson
Subject: Re: stdint module rewrite
Date: Tue, 13 Jun 2006 18:47:42 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Is there anything in this that would enable me to install a "stdint.h"
file in $prefix (called something like "idn-int.h"), so I can use
uint32_t etc in my API, and be backwards compatible with hosts that
doesn't have uint32_t natively?

Compare the AX_CREATE_STDINT_H macro:
http://autoconf-archive.cryp.to/ax_create_stdint_h.html

The essential difference is that the installed "idn-int.h" should work
without assuming any config.h symbols, but instead rely on a
combination of install-time "guesses" and CPP symbol checks to define
the proper uint32_t types for the host and the compilers on that host.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]