summaryrefslogtreecommitdiff
path: root/src/shared/architecture.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-22 12:04:50 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-22 12:04:53 -0500
commit568981d2ac78567e859d89e8d29f844c3e6a871f (patch)
tree42ee9d735438c03e8486965a1a3e97d007cbccbe /src/shared/architecture.h
parent1e648011b20c8126412d3cf2699d575d9ba9e0fe (diff)
missing: add __NR_getrandom for a few more archs
Mips has getrandom() too, but there's just too many variants for me too care. Either someone who cares does it, or they get compile-time warnings with old kernel headers.
Diffstat (limited to 'src/shared/architecture.h')
-rw-r--r--src/shared/architecture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/architecture.h b/src/shared/architecture.h
index f1fef23cf..cb82418a5 100644
--- a/src/shared/architecture.h
+++ b/src/shared/architecture.h
@@ -133,7 +133,7 @@ int uname_architecture(void);
# else
# define native_architecture() ARCHITECTURE_MIPS_LE
# define LIB_ARCH_TUPLE "mipsel-linux-gnu"
-#endif
+# endif
#elif defined(__alpha__)
# define native_architecture() ARCHITECTURE_ALPHA
# define LIB_ARCH_TUPLE "alpha-linux-gnu"
@@ -185,7 +185,7 @@ int uname_architecture(void);
# define native_architecture() ARCHITECTURE_CRIS
# error "Missing LIB_ARCH_TUPLE for CRIS"
#else
-#error "Please register your architecture here!"
+# error "Please register your architecture here!"
#endif
const char *architecture_to_string(int a) _const_;