Commit Graph

57 Commits

Author SHA1 Message Date
Branimir Karadžić
d2b8b1aab5 Added Linux/signal exception handling. 2025-08-23 09:20:41 -07:00
Pino Toscano
b59b7debd3 Small platform detection/usage improvements (#346)
* Use BX_PLATFORM_POSIX where needed

The semaphone implementation already uses BX_PLATFORM_POSIX to include
<pthread.h> on all the POSIX platforms; do the same also in other places
for consistency. This is done also for <sched.h>, which is a POSIX API,
and sched_yield() from it is already guarded by BX_PLATFORM_POSIX.

* Drop support for GNU libc older than 2.12

glibc 2.12 was released on 2010, and at this point any supported Linux
distro has that version or way greather than that.
2025-06-07 16:01:25 +00:00
Бранимир Караџић
b6f79884e3 Cleanup. 2025-01-26 15:19:24 -08:00
Бранимир Караџић
13c40f9a6e Happy New Year! 2025-01-13 15:45:25 -08:00
Бранимир Караџић
c723ec4054 Added memory map/unmap functions. 2024-12-31 08:24:43 -08:00
Бранимир Караџић
61cc316669 Removing alloca compat include. 2024-12-21 19:24:22 -08:00
Бранимир Караџић
2cebc558eb Cleanup. 2024-10-27 23:28:39 -07:00
Daniel Kalmar
e7ede513dc Fix NX support / compilation. (#332) 2024-06-25 07:19:24 -07:00
Oskar Kwaśniewski
f8dc7147b6 feat: add visionOS support (#323)
* feat: define BX_PLATFORM_VISIONOS

* chore: add xros, xrsimulator toolchain support
2024-04-29 10:18:36 -07:00
Бранимир Караџић
67dfdf34f6 Happy New Year! 2024-01-14 01:55:51 -08:00
Branimir Karadžić
a9ebe59e14 Remove unsupported platforms. 2023-11-03 21:41:46 -07:00
Бранимир Караџић
1b227fada6 Happy New Year! 2023-01-14 10:04:18 -08:00
Бранимир Караџић
7ddf616ac9 dlopen: Added dlerror info if dlopen fails to open. 2022-09-15 22:25:48 -07:00
Бранимир Караџић
4921078d1e Fix bx::dlclose when passing NULL handle. 2022-09-14 20:56:23 -07:00
Бранимир Караџић
c969169fc1 Happy New Year! 2022-01-15 11:58:42 -08:00
Бранимир Караџић
51c3264846 Fixed assert macros, and improved error handling. 2021-10-25 18:59:11 -07:00
Branimir Karadžić
6c189a717a Define WIN32_LEAN_AND_MEAN if it's not defined when including windows.h. 2021-10-13 20:17:46 -07:00
Бранимир Караџић
be174e43e6 Happy New Year! 2021-01-14 15:52:13 -08:00
Бранимир Караџић
af9ccfdf56 Removed support for SteamLink (discontinued 11/2018). 2020-03-11 21:52:46 -07:00
Бранимир Караџић
74e8c2bd91 Happy New Year! 2020-01-14 21:25:09 -08:00
Vladimir Vukicevic
7883a57e8a Don't support getenv/setenv on Emscripten platform 2019-07-02 01:28:05 +00:00
Бранимир Караџић
a8cf4e3b07 Fixed ifdef order. 2019-06-16 09:09:11 -07:00
miqlas
daab5c96e5 Initial Haiku support (#207)
* Initial Haiku support

* makefile support

* Makefile fix, add genie for Haiku64

* Revert testchanges
2019-06-16 16:04:56 +00:00
Бранимир Караџић
5a14ea6c36 Cleanup. 2019-02-19 17:52:00 -08:00
Бранимир Караџић
1a2c2cd4a0 Happy New Year! 2019-01-13 17:11:07 -08:00
Branimir Karadžić
a89331575a Switching os.h to StringView. 2018-11-22 13:35:18 -08:00
Branimir Karadžić
fa957607e2 Fixed setEnv. 2018-11-14 21:27:23 -08:00
Branimir Karadžić
d1c6ff2b1f Cleanup. 2018-11-14 20:01:03 -08:00
Branimir Karadžić
4b1bc5bd32 Cleanup. 2018-09-22 21:20:56 -07:00
Branimir Karadžić
5584f41b53 Cleanup. 2018-02-17 18:38:38 -08:00
Branimir Karadžić
4a77249234 Happy New Year! 2018-01-01 11:13:43 -08:00
Branimir Karadžić
cf9acbfdb0 FIxed build. 2017-11-18 17:05:44 -08:00
Branimir Karadžić
451e30b55b Cleanup. 2017-11-17 08:50:10 -08:00
Branimir Karadžić
8ca95ffda7 Cleanup. 2017-11-15 21:31:03 -08:00
Branimir Karadžić
54ac0423a2 Cleanup. 2017-11-15 20:29:00 -08:00
Branimir Karadžić
c04c499aee Added home dir lookup. 2017-11-15 20:19:57 -08:00
Branimir Karadžić
fe9136cb88 Cleanup. 2017-11-13 19:53:12 -08:00
Codecat
0bb8c148bf Support for the NX platform (#164) 2017-10-12 09:11:55 -07:00
Branimir Karadžić
d4906fd3bd Moving code around and renaming files. 2017-07-15 21:00:17 -07:00
Branimir Karadžić
f1f115bdaa Removed obsolete platform. 2017-06-11 22:54:19 -07:00
Branimir Karadžić
41da51d3e6 Removed support for Native Client. https://developer.chrome.com/native-client/migration 2017-05-30 23:49:13 -07:00
Branimir Karadžić
7d9921ff69 Merge branch 'master' of github.com:bkaradzic/bx 2017-05-21 10:28:56 -07:00
Branimir Karadžić
e65eec44e9 Fixed timespec time calculation. Issue #153. 2017-05-21 10:27:00 -07:00
zeromus
5756434bb5 Update os.cpp (#152)
if `CreateProcessA` is used then so too should `STARTUPINFOA`
2017-05-15 17:05:57 -07:00
Branimir Karadžić
d3200d1d26 Renaming string functions. 2017-04-16 21:55:53 -07:00
Branimir Karadžić
db5e1d9b8f Cleanup. 2017-02-18 21:29:33 -08:00
Branimir Karadžić
444ebbf7ef Cleanup. 2017-02-06 18:15:37 -08:00
Branimir Karadžić
bb15438be4 Cleanup. 2017-02-06 16:22:22 -08:00
Branimir Karadžić
17e0713b7b Cleanup. 2017-02-06 16:05:58 -08:00
Branimir Karadžić
83e98ee114 Cleanup. 2017-01-20 16:34:04 -08:00