summaryrefslogtreecommitdiffhomepage
path: root/compat/weak-borrowed-ptr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/weak-borrowed-ptr.hpp')
-rw-r--r--compat/weak-borrowed-ptr.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/weak-borrowed-ptr.hpp b/compat/weak-borrowed-ptr.hpp
index ac512c5c..e9ceceaf 100644
--- a/compat/weak-borrowed-ptr.hpp
+++ b/compat/weak-borrowed-ptr.hpp
@@ -1,6 +1,10 @@
#pragma once
#include "borrowed-ptr.hpp"
+#ifdef FM_NO_WEAK_BPTR
+#error weak_bptr not supported!
+#endif
+
namespace floormat {
template<typename T>