mirror of
https://github.com/google/liblc3.git
synced 2026-05-11 23:28:01 +00:00
wasm: Remove warnings, and separate builtin backend
This commit is contained in:
committed by
Antoine SOULIER
parent
bfea2c04c1
commit
16e082c929
10
src/common.h
10
src/common.h
@@ -22,17 +22,9 @@
|
||||
#include <lc3.h>
|
||||
#include "fastmath.h"
|
||||
|
||||
#include <stdalign.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef __wasm32__
|
||||
#define memmove __builtin_memmove
|
||||
#define memset __builtin_memset
|
||||
#define memcpy __builtin_memcpy
|
||||
#define NULL ((void*)0)
|
||||
#else
|
||||
#include <stdalign.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef __ARM_ARCH
|
||||
#include <arm_acle.h>
|
||||
|
||||
Reference in New Issue
Block a user