Mercurial > gnulib
comparison lib/msvc-inval.h @ 40235:5a52ef2d4772
all: Update URLs to msdn.microsoft.com.
* lib/stat-w32.c et al.: Update URLs after most of msdn.microsoft.com
was moved to docs.microsoft.com.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 14 Mar 2019 09:49:24 +0100 |
parents | b06060465f09 |
children |
comparison
equal
deleted
inserted
replaced
40234:fab7ce42e03f | 40235:5a52ef2d4772 |
---|---|
93 | 93 |
94 # include <excpt.h> | 94 # include <excpt.h> |
95 | 95 |
96 /* Gnulib can define its own status codes, as described in the page | 96 /* Gnulib can define its own status codes, as described in the page |
97 "Raising Software Exceptions" on microsoft.com | 97 "Raising Software Exceptions" on microsoft.com |
98 <https://msdn.microsoft.com/en-us/library/het71c37.aspx>. | 98 <https://docs.microsoft.com/en-us/cpp/cpp/raising-software-exceptions>. |
99 Our status codes are composed of | 99 Our status codes are composed of |
100 - 0xE0000000, mandatory for all user-defined status codes, | 100 - 0xE0000000, mandatory for all user-defined status codes, |
101 - 0x474E550, a API identifier ("GNU"), | 101 - 0x474E550, a API identifier ("GNU"), |
102 - 0, 1, 2, ..., used to distinguish different status codes from the | 102 - 0, 1, 2, ..., used to distinguish different status codes from the |
103 same API. */ | 103 same API. */ |
104 # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) | 104 # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) |
105 | 105 |
106 # if defined _MSC_VER | 106 # if defined _MSC_VER |
107 /* A compiler that supports __try/__except, as described in the page | 107 /* A compiler that supports __try/__except, as described in the page |
108 "try-except statement" on microsoft.com | 108 "try-except statement" on microsoft.com |
109 <https://msdn.microsoft.com/en-us/library/s58ftw19.aspx>. | 109 <https://docs.microsoft.com/en-us/cpp/cpp/try-except-statement>. |
110 With __try/__except, we can use the multithread-safe exception handling. */ | 110 With __try/__except, we can use the multithread-safe exception handling. */ |
111 | 111 |
112 # ifdef __cplusplus | 112 # ifdef __cplusplus |
113 extern "C" { | 113 extern "C" { |
114 # endif | 114 # endif |