diff host/tools/configtool/standalone/wxwin/ecutils.cpp @ 517:2b2d9aa25330

* standalone/wxwin/configtooldoc.cpp: Use wxString::GetChar() rather than array element. * standalone/wxwin/filename.cpp: Use wxString::GetChar() and SetChar() rather than array element. Add some explicit casts to allow building with GNU/Cygwin tools. Use MAX_PATH rather than _MAX_PATH for portability. * standalone/wxwin/ecutils.cpp: Call wxNewKill() rather than wKill() for Cygsin builds. * standalone/wxwin/ecutils.h: Use wxLongLong_t rather than __int64 for portability.
author jld
date Mon, 20 Jan 2003 15:12:11 +0000
parents 6c2a59f5102f
children d7c9117adc25
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/ecutils.cpp
+++ b/host/tools/configtool/standalone/wxwin/ecutils.cpp
@@ -1223,7 +1223,7 @@ int wxNewKill(long pid, wxSignal sig, ec
 
 int ecKill(long pid, wxSignal sig)
 {
-#ifdef __UNIX__
+#if defined(__UNIX__) && !defined(__CYGWIN__)
     return wxKill(pid, sig);
 #elif defined(__WXMSW__)
     return wxNewKill(pid, sig);