[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting EBADF on MSVC
From: |
Bruno Haible |
Subject: |
Re: getting EBADF on MSVC |
Date: |
Fri, 23 Sep 2011 20:46:57 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
> New module 'msvc-inval'.
> * lib/msvc-inval.h: New file.
> * lib/msvc-inval.c: New file.
There was still a compilation error, relating to EXCEPTION_EXECUTE_HANDLER and
EXCEPTION_CONTINUE_SEARCH. This fixes it:
2011-09-23 Bruno Haible <address@hidden>
msvc-inval: Fix compilation error.
* lib/msvc-inval.h: Include <excpt.h>.
--- lib/msvc-inval.h.orig Fri Sep 23 20:44:05 2011
+++ lib/msvc-inval.h Fri Sep 23 13:49:03 2011
@@ -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>.
--
In memoriam Ghazala Khan <http://en.wikipedia.org/wiki/Ghazala_Khan>
Re: getting EBADF on MSVC, Bruno Haible, 2011/09/18
Re: getting EBADF on MSVC,
Bruno Haible <=