mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[util] Fix Windows build
Windows headers define `environ`.
This commit is contained in:
1 parent
93288a1ced
commit
a6f563247e
1 file changed
+2
-2
+2
-2
@@ -185,11 +185,11 @@ struct option_parser_t
|
||||
g_string_free (s, TRUE);
|
||||
}
|
||||
|
||||
void add_environ (const char *environ)
|
||||
void add_environ (const char *environment)
|
||||
{
|
||||
if (!environs)
|
||||
environs = g_ptr_array_new ();
|
||||
g_ptr_array_add (environs, g_strdup (environ));
|
||||
g_ptr_array_add (environs, g_strdup (environment));
|
||||
}
|
||||
|
||||
void free_later (char *p) {
|
||||
|
||||
Reference in new issue
Block a user