Move dovoid() macro from #ifdef__GLIBC__ to #ifdef __linux__, to match the condutions of the place where it is used. Thanks to Matias A. Fonzo for noticing.
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#if defined(__GLIBC__)
|
||||
# include <crypt.h>
|
||||
# define dovoid(f) if ((f)){}
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
# include <sys/statfs.h>
|
||||
@@ -60,6 +59,7 @@
|
||||
# ifndef MNT_DETACH
|
||||
# define MNT_DETACH 2
|
||||
# endif
|
||||
# define dovoid(f) if ((f)){}
|
||||
#endif
|
||||
|
||||
#define BS CTRL('h')
|
||||
|
Reference in New Issue
Block a user