Mercurial > hg > octave-nkf > gnulib-hg
changeset 15750:dcb82e84f6fe
msvc-inval: Fix compilation error.
* lib/msvc-inval.h: Include <excpt.h>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 23 Sep 2011 20:45:10 +0200 |
parents | 7299cd35d17f |
children | 6cad6a3713b8 |
files | ChangeLog lib/msvc-inval.h |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-09-23 Bruno Haible <bruno@clisp.org> + + msvc-inval: Fix compilation error. + * lib/msvc-inval.h: Include <excpt.h>. + 2011-09-23 Bruno Haible <bruno@clisp.org> mkdir: Tweak for MSVC 9.
--- a/lib/msvc-inval.h +++ b/lib/msvc-inval.h @@ -46,7 +46,7 @@ /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler declaration. */ -#include <stdlib.h> +# include <stdlib.h> # if defined _MSC_VER /* A compiler that supports __try/__except, as described in the page @@ -54,6 +54,8 @@ <http://msdn.microsoft.com/en-us/library/s58ftw19.aspx>. With __try/__except, we can use the multithread-safe exception handling. */ +# include <excpt.h> + /* Gnulib can define its own status codes, as described in the page "Raising Software Exceptions" on microsoft.com <http://msdn.microsoft.com/en-us/library/het71c37.aspx>.