0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::fs: Precondition definition rather than as weak symbol.

This commit is contained in:
Jason Volk 2019-05-05 17:47:08 -07:00
parent 861df761fe
commit 7f18bb17e2

View file

@ -1883,12 +1883,13 @@ ircd::fs::reflect(const op &op)
return "????";
}
#ifndef IRCD_USE_AIO
ircd::fs::op
__attribute__((weak)) // overriden in fs_aio.cc
ircd::fs::aio::translate(const int &val)
{
return op::NOOP;
}
#endif
///////////////////////////////////////////////////////////////////////////////
//