diff options
author | Burt P <pburt0@gmail.com> | 2017-07-09 12:59:06 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-12 19:38:41 -0700 |
commit | 4d0673ba25053b8bb93a911116393bfa13b21c3e (patch) | |
tree | c9429484bb4c78fb030fb4df114ee8e19549d578 /modules/devices/sh | |
parent | 7202eb2b3107ec9e838e8ac357dc603a23cf5546 (diff) |
Add CMake options to allow testing various platform's processor.c
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/sh')
-rw-r--r-- | modules/devices/sh/processor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/devices/sh/processor.c b/modules/devices/sh/processor.c index 3f91efbd..a2018ff8 100644 --- a/modules/devices/sh/processor.c +++ b/modules/devices/sh/processor.c @@ -27,7 +27,9 @@ gchar *byte_order_str() { #endif } +#ifndef PROC_CPUINFO #define PROC_CPUINFO "/proc/cpuinfo" +#endif GSList * processor_scan(void) |