aboutsummaryrefslogtreecommitdiff
path: root/src/compat/sanity.h
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2014-06-13 19:19:35 -0400
committerCory Fields <[email protected]>2014-06-16 17:21:34 -0400
commit679240d0e92f71b38cefd23e3d99e8ebf63c2508 (patch)
tree31b055adc3fcd07bb6b58903a590165de90cacce /src/compat/sanity.h
parentsanity: autoconf check for sys/select.h (diff)
downloaddiscoin-679240d0e92f71b38cefd23e3d99e8ebf63c2508.tar.xz
discoin-679240d0e92f71b38cefd23e3d99e8ebf63c2508.zip
sanity: add libc/stdlib sanity checks
These are meant to test our back-compat stubs, but they are enabled for all builds for the sake of consistency.
Diffstat (limited to 'src/compat/sanity.h')
-rw-r--r--src/compat/sanity.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compat/sanity.h b/src/compat/sanity.h
new file mode 100644
index 000000000..a221f69df
--- /dev/null
+++ b/src/compat/sanity.h
@@ -0,0 +1,7 @@
+#ifndef BITCON_COMPAT_SANITY_H
+#define BITCON_COMPAT_SANITY_H
+
+bool glibc_sanity_test();
+bool glibcxx_sanity_test();
+
+#endif