more corrections

This commit is contained in:
Nadia Holmquist Pedersen 2024-05-15 16:34:32 +02:00
parent e29f42c937
commit 284e479455
2 changed files with 7 additions and 0 deletions

View File

@ -119,6 +119,7 @@ gboolean g_shell_parse_argv(const gchar* command_line, gint* argcp, gchar*** arg
GError* err = malloc(sizeof(GError));
err->message = message;
*error = err;
return false;
}
gboolean g_spawn_async_with_fds(const gchar *working_directory, gchar **argv,

View File

@ -9,6 +9,12 @@
#include <string.h>
#include <stddef.h>
#ifdef _WIN32
#define G_OS_WIN32 1
#else
#define G_OS_UNIX 1
#endif
#define G_LITTLE_ENDIAN 0
#define G_BIG_ENDIAN 1
#define G_BYTE_ORDER G_LITTLE_ENDIAN