mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
a04892f62e
At configure time, check for <stdint.h>. If we don't have it, find integer types of various sizes. On Windows, where we can't run compilation tests in configure, hard-code definitions suggesting the use of the built-in __intN types for the exact-size types, and <stddef.h> for the pointer-sized types. Use namespace-clean names for the preprocessor macros we define. Since these types are used in the public JavaScript API, the configure script needs to place the definitions it finds in js-config.h, the installed configure-generated header, so it can be used by jsapi.h and that gang. New header js/src/jsstdint.h does what it takes to get definitions for the exact-size and pointer-size integral types. It includes <stdint.h> when available, uses the types found by configure.in to define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN types and the <stddef.h> header. Remove now-unnecessary and possibly conflicting definitions of intN_t types from js/src/nanojit/avmplus.h. |
||
---|---|---|
.. | ||
acoutput-fast.pl | ||
altoptions.m4 | ||
clean-config.sh | ||
codeset.m4 | ||
config.guess | ||
config.sub | ||
freetype2.m4 | ||
glib.m4 | ||
gtk.m4 | ||
install-sh | ||
libart.m4 | ||
libIDL-2.m4 | ||
libIDL.m4 | ||
make-makefile | ||
match-dir.sh | ||
mozconfig2client-mk | ||
mozconfig2configure | ||
mozconfig-find | ||
moznbytetype.m4 | ||
nspr.m4 | ||
nss.m4 | ||
pkg.m4 | ||
update-makefile.sh |