mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:53:32 +03:00
tidy-up: make per-file ARRAYSIZE macros global as CURL_ARRAYSIZE
Closes #16111
This commit is contained in:
parent
9da9a0226d
commit
13b2ea68f0
13 changed files with 37 additions and 84 deletions
|
|
@ -933,6 +933,8 @@ endings either CRLF or LF so 't' is appropriate.
|
|||
as their argument */
|
||||
#define STRCONST(x) x,sizeof(x)-1
|
||||
|
||||
#define CURL_ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))
|
||||
|
||||
/* Some versions of the Android NDK is missing the declaration */
|
||||
#if defined(HAVE_GETPWUID_R) && \
|
||||
defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue