diff options
Diffstat (limited to 'external_libs/python/pyzmq-14.7.0/buildutils/check_sys_un.c')
-rw-r--r-- | external_libs/python/pyzmq-14.7.0/buildutils/check_sys_un.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/external_libs/python/pyzmq-14.7.0/buildutils/check_sys_un.c b/external_libs/python/pyzmq-14.7.0/buildutils/check_sys_un.c new file mode 100644 index 00000000..8c013c41 --- /dev/null +++ b/external_libs/python/pyzmq-14.7.0/buildutils/check_sys_un.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include "sys/un.h" + +int main(int argc, char **argv) { + struct sockaddr_un *dummy; + printf("%lu\n", sizeof(dummy->sun_path) - 1); + return 0; +} |