Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
7b65852c
...
7b65852c1a062ca64b81985827a6a7d52e72988b
authored
2005-11-16 10:27:42 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Include errno.h
Provide ECANCELED if it is missing (mainly for cygwin).
1 parent
bcb26d47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
include/mailutils/errno.hin
include/mailutils/errno.hin
View file @
7b65852
...
...
@@ -15,11 +15,13 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301 USA */
#ifndef _MAILUTILS_ERRNO_H
#define _MAILUTILS_ERRNO_H 1
#include <errno.h>
#include <mailutils/types.h>
#ifdef __cplusplus
...
...
@@ -29,6 +31,10 @@ extern "C" {
#define MU_ERR_BASE 0x1000
$
MESSAGE_DEFS
#ifndef ECANCELED
# define ECANCELED MU_ERR_CANCELED
#endif
const
char
*
mu_errname
(
int
e
);
const
char
*
mu_strerror
(
int
e
);
...
...
Please
register
or
sign in
to post a comment