mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio-launch-desktop: preserve static_assert message
This commit is contained in:
parent
c850a06ea2
commit
813ce7f0b5
@ -121,8 +121,8 @@ journal_stream_fd (const char *identifier,
|
||||
/* Arbitrary large size for the sending buffer, from systemd */
|
||||
int large_buffer_size = 8 * 1024 * 1024;
|
||||
|
||||
G_STATIC_ASSERT (LOG_EMERG == 0);
|
||||
G_STATIC_ASSERT (LOG_DEBUG == 7);
|
||||
G_STATIC_ASSERT (LOG_EMERG == 0 && "Linux ABI defines LOG_EMERG");
|
||||
G_STATIC_ASSERT (LOG_DEBUG == 7 && "Linux ABI defines LOG_DEBUG");
|
||||
|
||||
fd = socket (AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user