summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h')
-rw-r--r--graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h
new file mode 100644
index 0000000000..f767b18f90
--- /dev/null
+++ b/graphics/asymptote/LspCpp/include/LibLsp/JsonRpc/optionalVersion.h
@@ -0,0 +1,13 @@
+#ifndef boost
+#if __cplusplus < 201703L
+
+#include <boost/optional.hpp>
+using boost::optional;
+
+#else
+
+#include <optional>
+using std::optional;
+
+#endif
+#endif