update compiler compat note + lowercase windows.h in linenoise

master
Daniel Kolesa 2021-04-15 20:59:30 +02:00
parent 9a6c3798b3
commit 37ad7e7589
2 changed files with 5 additions and 2 deletions

View File

@ -114,7 +114,10 @@ The C++20 support does not have to be complete. These are the baselines
* Clang 10 (with libstdc++ or libc++)
* Microsoft Visual C++ 2019
Older versions of either of these are known not to work.
Older compilers generally do not work out of box (but for example, GCC 9
may work if you provide an `std::span` implementation; see the docs for
how, but keep in mind that the resulting library will have incompatible
ABI with newer standard library versions that do provide it).
You will need [Meson](https://mesonbuild.com/) to build the project. Most
Unix-like systems have it in their package management, on Windows there is

View File

@ -137,7 +137,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#include <io.h>
#ifndef STDIN_FILENO
#define STDIN_FILENO (_fileno(stdin))