Replace C99 restrict keyword with OPUS_RESTRICT.
We had previously advised people to -Drestrict on non-C99 compilers, but this creates problems for some of the MSVC headers. Instead this just uses a macro and defines it sanely.
Showing
- celt/bands.c 10 additions, 10 deletionscelt/bands.c
- celt/bands.h 2 additions, 2 deletionscelt/bands.h
- celt/celt.c 21 additions, 21 deletionscelt/celt.c
- celt/celt.h 2 additions, 2 deletionscelt/celt.h
- celt/mdct.c 29 additions, 29 deletionscelt/mdct.c
- celt/mdct.h 3 additions, 2 deletionscelt/mdct.h
- celt/pitch.c 2 additions, 2 deletionscelt/pitch.c
- celt/pitch.h 2 additions, 2 deletionscelt/pitch.h
- celt/vq.c 1 addition, 1 deletioncelt/vq.c
- include/opus_defines.h 12 additions, 0 deletionsinclude/opus_defines.h
Loading
Please register or sign in to comment