From efb84214ac14749188ab8294a52b4e91475c13b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 26 Apr 2017 21:46:55 -0700 Subject: [PATCH] nap.h: Fix compilation on non windows platforms * tests/nap.h: Move misplaced endif. --- ChangeLog | 5 +++++ tests/nap.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 314f7d97a9..12ccfc1ece 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-04-26 Pádraig Brady + + nap.h: Fix compilation on non windows platforms + * tests/nap.h: Move misplaced endif. + 2017-04-26 Pádraig Brady and Paul Eggert diff --git a/tests/nap.h b/tests/nap.h index 00de83fa1f..a49befc0aa 100644 --- a/tests/nap.h +++ b/tests/nap.h @@ -67,8 +67,8 @@ nap_get_stat (struct stat *st, int do_write) nap_fd = open (TEMPFILE, O_RDWR, 0600); ASSERT (nap_fd != -1); lseek (nap_fd, 0, SEEK_END); - } #endif + } ASSERT (fstat (nap_fd, st) == 0); } -- 2.39.5