applied patch #1680556 - fixes to allow zip2exe & Makensisw to build in winelib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5008 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
089dfb7da9
commit
00e1788675
3 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ JNL_AsyncDNS::~JNL_AsyncDNS()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long WINAPI JNL_AsyncDNS::_threadfunc(LPVOID _d)
|
DWORD WINAPI JNL_AsyncDNS::_threadfunc(LPVOID _d)
|
||||||
{
|
{
|
||||||
JNL_AsyncDNS *_this=(JNL_AsyncDNS*)_d;
|
JNL_AsyncDNS *_this=(JNL_AsyncDNS*)_d;
|
||||||
int nowinsock=JNL::open_socketlib();
|
int nowinsock=JNL::open_socketlib();
|
||||||
|
|
|
@ -31,7 +31,7 @@ private:
|
||||||
|
|
||||||
volatile int m_thread_kill;
|
volatile int m_thread_kill;
|
||||||
HANDLE m_thread;
|
HANDLE m_thread;
|
||||||
static unsigned long WINAPI _threadfunc(LPVOID _d);
|
static DWORD WINAPI _threadfunc(LPVOID _d);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -412,9 +412,9 @@ DWORD WINAPI ThreadProc(LPVOID p) // thread that will start & monitor wwwinamp
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long exit=0; //process exit code
|
DWORD exit=0; //process exit code
|
||||||
unsigned long bread; //bytes read
|
DWORD bread; //bytes read
|
||||||
unsigned long avail; //bytes available
|
DWORD avail; //bytes available
|
||||||
|
|
||||||
memset(buf,0,sizeof(buf));
|
memset(buf,0,sizeof(buf));
|
||||||
while (1) //main program loop
|
while (1) //main program loop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue