mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[osal]: match system implementation with compiler marco
It would make the build system more simple, and the cross toolchains would do the rest to you. Toolchains like buildroot default not enable the __gnu_linux__ marco in the pre-processor will surfure from the systsm unknown problem. You should enable the marco in building toolchains or have a look on those scripts in build directory. Change-Id: I8f6af3391aa3d94d602ec8d84ba5e43839859169 Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if defined(__gnu_linux__)
|
||||
#include "mpp_log.h"
|
||||
|
||||
#include "allocator_std.h"
|
||||
@@ -57,3 +58,4 @@ MPP_RET os_allocator_get(os_allocator *api, MppBufferType type)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user