Added more defines for platform specific configs.

This commit is contained in:
Relintai 2024-02-17 20:55:27 +01:00
parent 0fccc9f393
commit 7da17bca02
3 changed files with 4 additions and 2 deletions

View File

@ -161,7 +161,9 @@
#else
/* This is not VxWorks. */
#define OS_VXWORKS 0
#ifndef SQLITE_NO_FCHOWN
#define HAVE_FCHOWN 1
#endif
#define HAVE_READLINK 1
#define HAVE_LSTAT 1
#endif /* defined(_WRS_KERNEL) */

View File

@ -36,7 +36,7 @@
extern "C" {
#endif
#if defined(_WIN32) || defined(__ANDROID__)
#if defined(_WIN32) || defined(__ANDROID__) || defined(GDNATIVE_LINUX_BSD_WEB)
#define GDCALLINGCONV
#elif defined(__APPLE__)
#include "TargetConditionals.h"

View File

@ -41,7 +41,7 @@
#include <stdint.h>
#include <winsock2.h>
#endif
#ifdef UNIX_ENABLED
#if defined(UNIX_ENABLED) || defined(ENET_UNIX_ENABLED)
#include <arpa/inet.h>
#endif