poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ios: open files in binary mode on windows


From: Hannes Domani
Subject: Re: [PATCH] ios: open files in binary mode on windows
Date: Tue, 20 Feb 2024 19:32:02 +0000 (UTC)

 Am Dienstag, 20. Februar 2024 um 20:28:52 MEZ hat Jose E. Marchesi 
<jemarch@gnu.org> Folgendes geschrieben:

> Hi Hannes.
> Isn't this something to do only ifdef _WIN32?

That's what this part is for:

> @@ -32,6 +32,10 @@
>  #include "ios.h"
>  #include "ios-dev.h"
>
> +#ifndef O_BINARY
> +#define O_BINARY 0
> +#endif
> +
>  /* State associated with a file device.  */
>
>  struct ios_dev_file


But if you don't like it this way, I can change it.


Hannes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]