]> Savannah Git Hosting - gnulib.git/commit
intprops: support uchar, ushort _WRAPV dests
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2019 05:24:49 +0000 (22:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2019 05:25:29 +0000 (22:25 -0700)
commit45cb2a14a68a519bfa57abfa1751cde6150b6f81
tree32eaf5c285b7338f31662b0ad2fefb35cdfa0604
parent96b8849e0203df4bd08610b6d58b3cfa7a2c72b5
intprops: support uchar, ushort _WRAPV dests

* lib/intprops.h (_GL_INT_OP_WRAPV_SMALLISH): New macro, defined
when __builtin_add_overflow etc. and _Generic are not used.
(_GL_INT_OP_WRAPV): Use it to support destinations that
are unsigned char or unsigned short, even in compilers
that lack __typeof__ and are not C11-compatible.
ChangeLog
lib/intprops.h