diff host/tools/Utils/common/eCosThreadUtils.cpp @ 518:94f334d9be6e

* common/eCosThreadUtils.cpp: Use "try" rather than "__try" for Cygwin builds.
author jld
date Mon, 20 Jan 2003 16:01:26 +0000
parents 6736c52df507
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/host/tools/Utils/common/eCosThreadUtils.cpp
+++ b/host/tools/Utils/common/eCosThreadUtils.cpp
@@ -147,7 +147,7 @@ CeCosThreadUtils::THREADFUNC CALLBACK Ce
   THREAD_ID id=GetThreadId();
   ThreadInfo *pInfo=(ThreadInfo*)pParam;
   TRACE(_T("Thread %x [%s] created\n"),id,(LPCTSTR)pInfo->strName);
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
   __try {
     // Call what we are instructed to (e.g. LocalThreadFunc):
     pInfo->pThreadFunc(pInfo->pThreadParam);