Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zstd
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
yocto-mirrors
zstd
Commits
bcf404c0
Commit
bcf404c0
authored
1 month ago
by
Yann Collet
Browse files
Options
Downloads
Patches
Plain Diff
changed C11 keyword to _Alignas
so that it doesn't depend on #include
parent
6e1d02f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/common/compiler.h
+1
-1
1 addition, 1 deletion
lib/common/compiler.h
with
1 addition
and
1 deletion
lib/common/compiler.h
+
1
−
1
View file @
bcf404c0
...
...
@@ -305,7 +305,7 @@ MEM_STATIC int ZSTD_isPower2(size_t u) {
# if defined(__GNUC__)
# define ZSTD_ALIGNED(a) __attribute__((aligned(a)))
# elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
/* C11 */
# define ZSTD_ALIGNED(a)
a
lignas(a)
# define ZSTD_ALIGNED(a)
_A
lignas(a)
#elif defined(_MSC_VER)
# define ZSTD_ALIGNED(n) __declspec(align(n))
# else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment