* lib/unistd.in.h: Don't do include[_next] <unistd.h> if the platform
does not have <unistd.h>.
+2019-12-11 Bruno Haible <bruno@clisp.org>
+
+ unistd: Fix compilation error in C++ mode on MSVC.
+ * lib/unistd.in.h: Don't do include[_next] <unistd.h> if the platform
+ does not have <unistd.h>.
+
2019-12-11 Bruno Haible <bruno@clisp.org>
locale: Fix compilation error in C++ mode on MSVC.
#endif
@PRAGMA_COLUMNS@
-#ifdef _GL_INCLUDING_UNISTD_H
+#if @HAVE_UNISTD_H@ && defined _GL_INCLUDING_UNISTD_H
/* Special invocation convention:
- On Mac OS X 10.3.9 we have a sequence of nested includes
<unistd.h> -> <signal.h> -> <pthread.h> -> <unistd.h>