diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-05-08 11:07:27 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-05-08 11:07:27 +1000 |
commit | a647b9b8e616c231594b2710c925d31b1b8afea3 (patch) | |
tree | fb30a90e91b8d7bf04e338cb2f7cbd6027046db5 | |
parent | d1680d36e17244d9af3843aeb5025cb8e40d6c07 (diff) | |
download | openssh-git-a647b9b8e616c231594b2710c925d31b1b8afea3.tar.gz |
Put brackets around mblen() compat constant.
This might help with the reported problem cross compiling for Android
("error: expected identifier or '(' before numeric constant") but
shouldn't hurt in any case.
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 1cffefe0..cb59ccd5 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -221,7 +221,7 @@ long long strtonum(const char *, long long, long long, const char **); /* multibyte character support */ #ifndef HAVE_MBLEN -# define mblen(x, y) 1 +# define mblen(x, y) (1) #endif #if !defined(HAVE_VASPRINTF) || !defined(HAVE_VSNPRINTF) |