Description: Turn #error into exceptions
 So the library can be built on non-Linux platforms too, although can't
 guarauntee its functionality regarding that piece of code.
Forwarded: not-needed
--- a/system/libbase/file.cpp
+++ b/system/libbase/file.cpp
@@ -461,7 +461,8 @@
 #elif defined(__EMSCRIPTEN__)
   abort();
 #else
-#error unknown OS
+#include <stdexcept>
+  throw std::runtime_error(std::string("Unknown OS!"));
 #endif
 }
 
