[ox/std] Cleanup
This commit is contained in:
parent
f634c208ac
commit
147a37ac6e
3
deps/ox/src/ox/std/error.hpp
vendored
3
deps/ox/src/ox/std/error.hpp
vendored
@ -19,7 +19,8 @@
|
||||
#endif
|
||||
|
||||
#define oxIgnoreError(x)
|
||||
#define oxReturnError(x) if (const auto _err = ox::error::toError(x)) return _err
|
||||
#define oxReturnError(x) if (const auto _ox_error = ox::error::toError(x)) return _ox_error
|
||||
#define oxThrowError(x) if (const auto _ox_error = ox::error::toError(x)) throw _ox_error
|
||||
|
||||
namespace ox {
|
||||
|
||||
|
2
deps/ox/src/ox/std/memops.cpp
vendored
2
deps/ox/src/ox/std/memops.cpp
vendored
@ -11,7 +11,7 @@
|
||||
|
||||
#ifndef OX_USE_STDLIB
|
||||
|
||||
#define ox_inhibit_loop_to_libcall __attribute__((__optimize__ ("-fno-tree-loop-distribute-patterns")))
|
||||
#define ox_inhibit_loop_to_libcall __attribute__((__optimize__("-fno-tree-loop-distribute-patterns")))
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user