mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Do not compile mem operations on non-debug env
This commit is contained in:
parent
548e410a6e
commit
c6add85f40
@ -15,6 +15,8 @@
|
|||||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <memory.hpp>
|
#include <memory.hpp>
|
||||||
#include <convert.h>
|
#include <convert.h>
|
||||||
@ -135,3 +137,5 @@ __constructor void TestMemoryOperations()
|
|||||||
|
|
||||||
debug("Memory operations test passed");
|
debug("Memory operations test passed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user