diff options
| author | Elliott Hughes <enh@google.com> | 2021-01-11 21:50:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-01-11 21:50:40 +0000 |
| commit | b1ba762e34850582a1156ac56d280c8ce1980b28 (patch) | |
| tree | de44db41b56528dbed9fc07329cac817143c55f8 /libc/stdio/stdio.cpp | |
| parent | 4e67866510aa27445e9d699ed40d55163b66e95f (diff) | |
| parent | e1dc4f62eb0475244f69b04f77eeaba18ea179a8 (diff) | |
Merge "Fewer copies of ALIGN()/ALIGNBYTES."
Diffstat (limited to 'libc/stdio/stdio.cpp')
| -rw-r--r-- | libc/stdio/stdio.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp index b8aced83b..c7b1ba459 100644 --- a/libc/stdio/stdio.cpp +++ b/libc/stdio/stdio.cpp @@ -57,8 +57,7 @@ #include "private/ErrnoRestorer.h" #include "private/thread_private.h" -#define ALIGNBYTES (sizeof(uintptr_t) - 1) -#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) +#include "private/bsd_sys_param.h" // For ALIGN/ALIGNBYTES. #define NDYNAMIC 10 /* add ten more whenever necessary */ |
