diff options
author | Colin Walters <walters@verbum.org> | 2017-06-13 16:22:09 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2017-06-14 12:48:20 -0400 |
commit | 9a1b77ef96b4eb9a916a71e7a04055c4c5665dea (patch) | |
tree | c89856b6f755aae9b17167ed184d9d0ddc7b41df /libglnx.h | |
parent | 05abf2143f967cd85b1b1b777ee412a581979cf1 (diff) | |
download | libglnx-9a1b77ef96b4eb9a916a71e7a04055c4c5665dea.tar.gz |
Add G_IN_SET, patch our internal users via spatch
I originally tried to get this into GLib:
https://bugzilla.gnome.org/show_bug.cgi?id=783751
But that looks like it's going to fail due to MSVC. Let's add it here at least
so I can start using it tomorrow and not wait for the MSVC team to catch up.
I renamed `glnx-alloca.h` to `glnx-macros.h` as a more natural collective
home for things from systemd's `macro.h`.
Finally, I used a Coccinelle spatch similar to the one referenced
in the above BZ to patch our uses.
Diffstat (limited to 'libglnx.h')
-rw-r--r-- | libglnx.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ G_BEGIN_DECLS -#include <glnx-alloca.h> +#include <glnx-macros.h> #include <glnx-local-alloc.h> #include <glnx-backport-autocleanups.h> #include <glnx-backports.h> |