I fixed it because the error occurred on macOS where Xcode12 was installed.
As I wrote in #118, I'm worried about defining _POSIX_C_SOURCE, but I'll submit a pull request anyway.
I tested the build and MS-DOS to the point where it runs, as shown in the following table.
SDL1-macOS is not running normally even in the pre-modified build.
SDL1-Win (MSYS2 Biuld) had a link error even in the code before the modification.
I'll write about these issues later in Issues. Actually, I'm not sure how to fix it 😅.
Xcode12をインストールしたmacOSでエラーになったので対応してみました。
118 に書いたように_POSIX_C_SOURCEを宣言しているところが気になりますが、とりあえずプルリクエスト出しときます。
次の表のような感じでビルドとMS-DOSが動くところまでのテストを行ってみました。
SDL1-macOSは改修前のビルドでも正しく動作してない。
SDL1-Win(MSYS2 Biuld)は改修前のコードでもリンクエラーになった。
これらの問題は、また後でIssuesに書いておきます。実はどうやったら直るかよくわからない😅
I fixed it because the error occurred on macOS where Xcode12 was installed. As I wrote in #118, I'm worried about defining _POSIX_C_SOURCE, but I'll submit a pull request anyway.
I tested the build and MS-DOS to the point where it runs, as shown in the following table.
SDL1-macOS is not running normally even in the pre-modified build.
SDL1-Win (MSYS2 Biuld) had a link error even in the code before the modification.
I'll write about these issues later in Issues. Actually, I'm not sure how to fix it 😅.