aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/sysinfo.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-02-23 23:48:32 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-02-23 23:48:32 +0100
commit2ae2d648ab0bd5340ca1342c97d704b2d4ce948c (patch)
tree8edea5ed6859668fdf9ca12a86b5ca4adcd9424f /src/blogc/sysinfo.h
parent83952ad3d567fc9a307d9f330033f4036618f1f8 (diff)
downloadblogc-2ae2d648ab0bd5340ca1342c97d704b2d4ce948c.tar.gz
blogc-2ae2d648ab0bd5340ca1342c97d704b2d4ce948c.tar.bz2
blogc-2ae2d648ab0bd5340ca1342c97d704b2d4ce948c.zip
blogc: sysinfo: simplified username impl. fixed tests
Diffstat (limited to 'src/blogc/sysinfo.h')
-rw-r--r--src/blogc/sysinfo.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/blogc/sysinfo.h b/src/blogc/sysinfo.h
index 783b656..b249661 100644
--- a/src/blogc/sysinfo.h
+++ b/src/blogc/sysinfo.h
@@ -19,14 +19,6 @@
#endif /* HAVE_GETHOSTNAME */
#endif /* HAVE_UNISTD_H */
-#ifdef HAVE_UNISTD_H
-#ifdef HAVE_SYS_TYPES_H
-#ifdef HAVE_PWD_H
-#define HAVE_SYSINFO_USERNAME 1
-#endif /* HAVE_PWD_H */
-#endif /* HAVE_SYS_TYPES_H */
-#endif /* HAVE_UNISTD_H */
-
#ifdef HAVE_TIME_H
#define HAVE_SYSINFO_DATETIME 1
#endif /* HAVE_TIME_H */