From 1fb8c9c6bea797e4db5e395fb34b899682ee8682 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Sun, 18 Mar 2018 00:38:14 +0900 Subject: Fix using right functions for file descriptor with MS Visual Studio --- patches/keypairtest.c.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/keypairtest.c.patch (limited to 'patches/keypairtest.c.patch') diff --git a/patches/keypairtest.c.patch b/patches/keypairtest.c.patch new file mode 100644 index 0000000..b1f03da --- /dev/null +++ b/patches/keypairtest.c.patch @@ -0,0 +1,13 @@ +--- tests/keypairtest.c.orig Sun Mar 18 00:31:20 2018 ++++ tests/keypairtest.c Sun Mar 18 00:31:33 2018 +@@ -15,6 +15,10 @@ + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + ++#ifdef _MSC_VER ++#define NO_REDEF_POSIX_FUNCTIONS ++#endif ++ + #include + + #include -- cgit v1.2.3-55-g6feb