about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-08 10:47:35 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-08 10:47:35 -0700
commit7a1a51b51341e0d0a35bf021e4104e0c9ae5bf63 (patch)
treeded59ad64edad4fda60475822b7aeb59a85a8979 /bits
parente393b1d7ed75efd756ef452c2072974c4d059bec (diff)
downloadglibc-7a1a51b51341e0d0a35bf021e4104e0c9ae5bf63.tar.gz
glibc-7a1a51b51341e0d0a35bf021e4104e0c9ae5bf63.tar.xz
glibc-7a1a51b51341e0d0a35bf021e4104e0c9ae5bf63.zip
Fix -Wundef for _UTSNAME_DOMAIN_LENGTH.
Diffstat (limited to 'bits')
-rw-r--r--bits/utsname.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bits/utsname.h b/bits/utsname.h
index e41c43820a..5ca7b89c55 100644
--- a/bits/utsname.h
+++ b/bits/utsname.h
@@ -21,4 +21,8 @@
 
 /* The size of the character arrays used to hold the information
    in a `struct utsname'.  Enlarge this as necessary.  */
-#define	_UTSNAME_LENGTH	1024
+#define	_UTSNAME_LENGTH		1024
+
+/* If nonzero, the size of of the `domainname` field in `struct utsname'.
+   This is zero to indicate that there should be no such field at all.  */
+#define _UTSNAME_DOMAIN_LENGTH	0