diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-05 00:48:45 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-05 00:48:45 +0400 |
commit | c729f22799bcd93a8524619242ce34a2d4fc6edd (patch) | |
tree | fd25a8d024fb1a1cd96a8dbf78fdec32b84976ef /winsup/cygwin/thread.cc | |
parent | 37f75da24dfd63f71025233f1a139b05f0de0904 (diff) |
* thread.cc (InterlockedExchangePointer): Don't define if it already exists.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index be7505fe4..543d727c6 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -1150,7 +1150,9 @@ __pthread_atforkchild (void) /*FIXME: implement InterlockExchangePointer and get rid of the silly typecasts below */ +#ifndef InterlockedExchangePointer #define InterlockedExchangePointer InterlockedExchange +#endif /*Register a set of functions to run before and after fork. *prepare calls are called in LI-FC order. |