diff --git a/glib/glib-unix.c b/glib/glib-unix.c index 608fbd6e6..9d2877c66 100644 --- a/glib/glib-unix.c +++ b/glib/glib-unix.c @@ -33,6 +33,12 @@ #include #include +G_STATIC_ASSERT (sizeof (ssize_t) == GLIB_SIZEOF_SSIZE_T); +G_STATIC_ASSERT (G_ALIGNOF (gssize) == G_ALIGNOF (ssize_t)); + +G_STATIC_ASSERT (sizeof (GPid) == sizeof (pid_t)); +G_STATIC_ASSERT (G_ALIGNOF (GPid) == G_ALIGNOF (pid_t)); + /** * SECTION:gunix * @title: UNIX-specific utilities and integration