{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1732711950,"commit_time":1734784164,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"250d613763dfc29f73010696ee7948f19d07dba9","message":"binmode: convert to macro and use it from tests\n\nAnd use it from src and tests.\n\nSyncing this functionality between platforms and build targets.\n\nAlso: Stop redefining `O_BINARY` in src, and use a local macro with\nthe same effect. `O_BINARY` is used in `CURL_SET_BINMODE()` to decide\nif this functionality is supported, and redefining it makes this check\npass always in unity builds. The check is required for Apple OS, because\nit offers a `setmode()` function, successfully detected by both CMake\nand autotools, but that function has a different functionality and\nsignature than that expected by `CURL_SET_BINMODE()`.\n\nAlso:\n- drop MetaWare High C (MS-DOS) support for set binmode.\n- tests/libtest/Makefile.inc: dedupe comments.\n- lib/curl_setup_once.h: tidy up feature guards for `io.h`, `fcntl.h`.\n\nRef: #15652\nCloses #15787\n","parents":["3428b8ad1c67bcb0098542f99de0ca0d7e024309"],"tree_hash":"c83ab3fc8343c5f78cc5a26dd58fac1e5300f47f"}