]> Savannah Git Hosting - gnulib.git/commit
stdint: check _INTPTR_T_DECLARED for intptr_t etc.
authorKO Myung-Hun <komh@chollian.net>
Fri, 15 Jan 2016 18:06:57 +0000 (10:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jan 2016 18:08:59 +0000 (10:08 -0800)
commit1aa6d2145efb497f87afb59bd5f6afc1e69b9bcf
treee7b5ef9b94487835758613b6a41bfaf2b4f4630c
parent95c48427331ed79ae6363ff64638b61c76850758
stdint: check _INTPTR_T_DECLARED for intptr_t etc.

OS/2 kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own
definitions of intptr_t and uintptr_t (which use int and unsigned)
to avoid clashes with declarations of system functions like sbrk.

* lib/stdint.in.h (intptr_t, uintptr_t): Check
_INTPTR_T_DECLARED before defining them.
lib/stdint.in.h