diff options
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. |