Merge pull request #2025 from The-SamminAter/patch-1

Fix compiling liblua on iOS
This commit is contained in:
Iceman 2023-07-09 08:40:12 +02:00 committed by GitHub
commit e86eaf105f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased] ## [unreleased][unreleased]
- Fix compiling liblua on iOS (@The-SamminAter)
- Fixed the timeout of TCP connections (@wh201906) - Fixed the timeout of TCP connections (@wh201906)
- Made the connection timeout configurable (@wh201906) - Made the connection timeout configurable (@wh201906)

View file

@ -10,9 +10,6 @@
#if defined(__APPLE__) #if defined(__APPLE__)
#include "TargetConditionals.h" #include "TargetConditionals.h"
#if TARGET_OS_IOS || TARGET_OS_WATCH || TARGET_OS_TV
#define system(s) ((s)==NULL ? 0 : -1)
#endif // end iOS
#endif #endif
#include <limits.h> #include <limits.h>