lib files are building

This commit is contained in:
d1str4ught
2025-08-18 02:05:07 +02:00
parent 4e679320a3
commit 0ec3511104
93 changed files with 418 additions and 759 deletions

View File

@@ -1,4 +1,3 @@
#define __LIBTHECORE__
#include "stdafx.h"
#ifndef __USE_SELECT__
@@ -233,7 +232,7 @@ void * fdwatch_get_client_data(LPFDWATCH fdw, unsigned int event_idx)
}
#else // ifndef __USE_SELECT__
#ifdef __WIN32__
#ifdef OS_WINDOWS
static int win32_init_refcount = 0;
static bool win32_init()
@@ -265,7 +264,7 @@ LPFDWATCH fdwatch_new(int nfiles)
{
LPFDWATCH fdw;
#ifdef __WIN32__
#ifdef OS_WINDOWS
if (!win32_init())
return NULL;
#endif
@@ -295,7 +294,7 @@ void fdwatch_delete(LPFDWATCH fdw)
free(fdw->select_rfdidx);
free(fdw);
#ifdef __WIN32__
#ifdef OS_WINDOWS
win32_deinit();
#endif
}