Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Xf86 Video Fbturbo
Commits
de4c24e0
Commit
de4c24e0
authored
Jul 17, 2013
by
Siarhei Siamashka
Browse files
Define ARRAY_SIZE macro if it is not provided by Xorg headers
Signed-off-by:
Siarhei Siamashka
<
siarhei.siamashka@gmail.com
>
parent
f99da9c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sunxi_video.c
View file @
de4c24e0
...
...
@@ -38,6 +38,10 @@
/*****************************************************************************/
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0]))
#endif
#define SIMD_ALIGN(s) (((s) + 15) & ~15)
#define MAKE_ATOM(a) MakeAtom(a, sizeof(a) - 1, TRUE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment