Bug 1844846 - Don't define HAVE_UNISTD_H when host is Windows. r=firefox-build-system-reviewers,glandium

After landing bug 1843419, color.cc checks HAVE_UNISTD_H. So it should be undefined.

Differential Revision: https://phabricator.services.mozilla.com/D184348
This commit is contained in:
Makoto Kato 2023-07-25 04:19:44 +00:00
parent c420598acf
commit 2d66af0716

View file

@ -50,6 +50,8 @@ replaced_variables = """
// Ignore whatever is set in mozilla-config.h wrt alloca because it is
// wrong when cross-compiling on Windows.
#undef HAVE_ALLOCA_H
// It is wrong when cross-compiling on Windows.
#undef HAVE_UNISTD_H
/* Whether ssize_t is defined by stddef.h */
#define HAVE_SSIZE_T 0
/* Whether strcasecmp is defined by strings.h */