Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-02-02 13:47:29 +0300
committerCorinna Vinschen <corinna@vinschen.de>2004-02-02 13:47:29 +0300
commit8d9bbb509261c62208169c46e7437839bffaec6b (patch)
treea1fa33c80fdefac59fff0f26b3df663aee09051f /winsup/cygwin/cygerrno.h
parenta37903bc439b9fa7d8aa6db27547f3d04eb12bb2 (diff)
* cygerrno.h (set_errno): Replace semicolon with comma in non-DEBUGGING
version to avoid compile time error.
Diffstat (limited to 'winsup/cygwin/cygerrno.h')
-rw-r--r--winsup/cygwin/cygerrno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygerrno.h b/winsup/cygwin/cygerrno.h
index 12b6691b7..c1a0fd821 100644
--- a/winsup/cygwin/cygerrno.h
+++ b/winsup/cygwin/cygerrno.h
@@ -18,7 +18,7 @@ int __stdcall geterrno_from_win_error (DWORD code, int deferrno) __attribute__ (
#define __seterrno_from_win_error(val) seterrno_from_win_error (__FILE__, __LINE__, val)
#ifndef DEBUGGING
-#define set_errno(val) (errno = (val); _impure_ptr->_errno = (val))
+#define set_errno(val) (errno = (val), _impure_ptr->_errno = (val))
#else
int __stdcall __set_errno (const char *ln, int ln, int val) __attribute ((regparm(3)));
#define set_errno(val) __set_errno (__PRETTY_FUNCTION__, __LINE__, (val))