ports/emulators/tic-80/files/patch-vendor_naett_naett.c
Robert Clausecker ad7c8c1ba7 emulators/tic-80: update to 1.1.2736
This update brings new support for Janet and replaces some other
dependencies.  QuickJS is currently linked statically from lang/quickjs
as that port does not provide a shared object.

Changelog: https://github.com/nesbox/TIC-80/releases/tag/v1.1.2736
Changelog: https://github.com/nesbox/TIC-80/releases/tag/v1.1.2729
2023-09-10 12:13:05 -04:00

20 lines
522 B
C

--- vendor/naett/naett.c.orig 2023-09-08 19:55:43 UTC
+++ vendor/naett/naett.c
@@ -22,7 +22,7 @@
#define __WINDOWS__ 1
#endif
-#if __linux__ && !__ANDROID__
+#if __linux__ && !__ANDROID__ || __FreeBSD__
#define __LINUX__ 1
#include <curl/curl.h>
#endif
@@ -782,7 +782,7 @@ void naettPlatformCloseResponse(InternalResponse* res)
// Inlined naett_linux.c: //
//#include "naett_internal.h"
-#if __linux__ && !__ANDROID__
+#if __linux__ && !__ANDROID__ || __FreeBSD__
#include <curl/curl.h>
#include <assert.h>