work in progress, cleaned up the directories and split them up into folder which make more sense, Still need to compile libvitaboy and all the tools

This commit is contained in:
Jip 2024-05-13 18:38:21 +02:00
parent 66ce473514
commit 948bd8474c
1786 changed files with 571812 additions and 15332 deletions

View file

@ -0,0 +1,3 @@
/* src/include/port/win32/arpa/inet.h */
#include <sys/socket.h>

1
deps/libpq/include/port/win32/dlfcn.h vendored Normal file
View file

@ -0,0 +1 @@
/* src/include/port/win32/dlfcn.h */

1
deps/libpq/include/port/win32/grp.h vendored Normal file
View file

@ -0,0 +1 @@
/* src/include/port/win32/grp.h */

1
deps/libpq/include/port/win32/netdb.h vendored Normal file
View file

@ -0,0 +1 @@
/* src/include/port/win32/netdb.h */

View file

@ -0,0 +1,3 @@
/* src/include/port/win32/netinet/in.h */
#include <sys/socket.h>

3
deps/libpq/include/port/win32/pwd.h vendored Normal file
View file

@ -0,0 +1,3 @@
/*
* src/include/port/win32/pwd.h
*/

View file

@ -0,0 +1,33 @@
/*
* src/include/port/win32/sys/socket.h
*/
#ifndef WIN32_SYS_SOCKET_H
#define WIN32_SYS_SOCKET_H
/*
* Unfortunately, <wingdi.h> of VC++ also defines ERROR.
* To avoid the conflict, we include <windows.h> here and undefine ERROR
* immediately.
*
* Note: Don't include <wingdi.h> directly. It causes compile errors.
*/
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#undef ERROR
#undef small
/* Restore old ERROR value */
#ifdef PGERROR
#define ERROR PGERROR
#endif
/*
* we can't use the windows gai_strerror{AW} functions because
* they are defined inline in the MS header files. So we'll use our
* own
*/
#undef gai_strerror
#endif /* WIN32_SYS_SOCKET_H */

View file

@ -0,0 +1,3 @@
/*
* src/include/port/win32/sys/wait.h
*/