aboutsummaryrefslogtreecommitdiff
path: root/src/compat/sanity.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-06-13 19:19:35 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-06-16 17:21:34 -0400
commit679240d0e92f71b38cefd23e3d99e8ebf63c2508 (patch)
tree31b055adc3fcd07bb6b58903a590165de90cacce /src/compat/sanity.h
parent11404af34c5e3d5aa334e1cfd8edee82fb9dc9a4 (diff)
downloadbitcoin-679240d0e92f71b38cefd23e3d99e8ebf63c2508.tar.xz
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 0000000000..a221f69dfc
--- /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