aboutsummaryrefslogtreecommitdiff
path: root/src/unixdgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unixdgram.c')
-rw-r--r--src/unixdgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unixdgram.c b/src/unixdgram.c
index 3ac3c5e..69093d7 100644
--- a/src/unixdgram.c
+++ b/src/unixdgram.c
@@ -16,7 +16,7 @@
16 16
17#define UNIXDGRAM_DATAGRAMSIZE 8192 17#define UNIXDGRAM_DATAGRAMSIZE 8192
18 18
19// provide a SUN_LEN macro if sys/un.h doesn't (e.g. Android) 19/* provide a SUN_LEN macro if sys/un.h doesn't (e.g. Android) */
20#ifndef SUN_LEN 20#ifndef SUN_LEN
21#define SUN_LEN(ptr) \ 21#define SUN_LEN(ptr) \
22 ((size_t) (((struct sockaddr_un *) 0)->sun_path) \ 22 ((size_t) (((struct sockaddr_un *) 0)->sun_path) \