stdnoreturn: port to MSVC better
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Feb 2012 09:48:18 +0000 (01:48 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Feb 2012 09:49:25 +0000 (01:49 -0800)
commit37fee00c15dd7de127bbfb0d2bd2e9e2a240729d
treecd5ab81299eeb8779186788e6b95d1ff45d2e48a
parent75ca5935f84fedf0eb6611245cc28555036d2090
stdnoreturn: port to MSVC better

MSVC standard headers use __declspec(noreturn), so #define noreturn
to empty on that platform.  Reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-02/msg00152.html>.
* lib/stdnoreturn.in.h (noreturn): Define to empty on MSVC.
* doc/posix-headers/stdnoreturn.texi (stdnoreturn.h): Document this.
ChangeLog
doc/posix-headers/stdnoreturn.texi
lib/stdnoreturn.in.h