Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
e9a04de2
Commit
e9a04de2
authored
Sep 25, 2013
by
Ahmed Samy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpuid: small fix
Signed-off-by:
Ahmed Samy
<
f.fallen45@gmail.com
>
parent
b0851b56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ccan/cpuid/_info
ccan/cpuid/_info
+5
-0
ccan/cpuid/cpuid.h
ccan/cpuid/cpuid.h
+1
-0
No files found.
ccan/cpuid/_info
View file @
e9a04de2
...
...
@@ -29,7 +29,12 @@ int main(int argc, char *argv[])
return 1;
if (strcmp(argv[1], "depends") == 0) {
#if defined(__i386__) || defined(__i386) || defined(__x86_64) \
|| defined(_M_AMD64) || defined(__M_X64)
/* Nothing. */
#else
printf("ccan/build_assert\n");
#endif
return 0;
}
...
...
ccan/cpuid/cpuid.h
View file @
e9a04de2
...
...
@@ -235,6 +235,7 @@ bool cpuid_test_feature(cpuid_t feature);
bool
cpuid_has_feature
(
int
feature
,
bool
extended
);
#else
#include <ccan/build_assert/build_assert.h>
#define cpuid_get_cpu_type() BUILD_ASSERT_OR_ZERO(0)
#define cpuid_get_cpu_type_string() BUILD_ASSERT_OR_ZERO(0)
...
...
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