Previous 199869 Revisions Next

r24789 Wednesday 7th August, 2013 at 14:02:03 UTC by Miodrag Milanović
Fix compile on windows :) (nw)
[src/lib/web]mongoose.c

trunk/src/lib/web/mongoose.c
r24788r24789
266266
267267#ifdef _WIN32
268268static CRITICAL_SECTION global_log_file_lock;
269#if !defined(NO_SSL)
269270static pthread_t pthread_self(void) {
270271  return GetCurrentThreadId();
271272}
273#endif
272274#endif // _WIN32
273275
274276#ifdef DEBUG_TRACE
r24788r24789
12721274  return (long)_beginthread((void (__cdecl *)(void *)) f, 0, p) == -1L ? -1 : 0;
12731275}
12741276
1277#if !defined(NO_SSL)
12751278static HANDLE dlopen(const char *dll_name, int flags) {
12761279  wchar_t wbuf[PATH_MAX];
12771280  (void) flags;
12781281  to_unicode(dll_name, wbuf, ARRAY_SIZE(wbuf));
12791282  return LoadLibraryW(wbuf);
12801283}
1281
1284#endif
12821285#if !defined(NO_CGI)
12831286#define SIGKILL 0
12841287static int kill(pid_t pid, int sig_num) {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team