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:
authorChristopher Faylor <me@cgf.cx>2004-05-25 07:21:34 +0400
committerChristopher Faylor <me@cgf.cx>2004-05-25 07:21:34 +0400
commit41bba72eb45016d5c6d4a2d95653e0eb6bf4eeed (patch)
tree3317a3116a32cabb155ff0b8018ca69e59bc5f81 /winsup/cygwin/winbase.h
parentc7e7ccbe93db9a972c90f578f4e23ad295b34e86 (diff)
* include/cygwin/version.h: Bump api minor version number.
* cygwin.din: Export atoll.
Diffstat (limited to 'winsup/cygwin/winbase.h')
-rw-r--r--winsup/cygwin/winbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/winbase.h b/winsup/cygwin/winbase.h
index 3dbf116ea..fc9af06fb 100644
--- a/winsup/cygwin/winbase.h
+++ b/winsup/cygwin/winbase.h
@@ -34,7 +34,7 @@ ilockexch (long *t, long v)
__asm__ __volatile__ ("\n\
1: lock cmpxchgl %3,(%1)\n\
jne 1b\n\
- ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t));
+ ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t): "memory": "cc");
return __res;
}
@@ -44,7 +44,7 @@ ilockcmpexch (long *t, long v, long c)
register int __res;
__asm__ __volatile__ ("\n\
lock cmpxchgl %3,(%1)\n\
- ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c));
+ ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c): "memory": "cc");
return __res;
}