mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
oslibs, codecs: correction to opus restrict patch applied at r1541.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1543 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
8d66877da3
commit
da83b3b018
2 changed files with 4 additions and 4 deletions
|
@ -86,8 +86,8 @@ extern "C" {
|
|||
# endif
|
||||
# endif
|
||||
|
||||
#if (defined(__GNUC__) && (__GNUC__ < 4))
|
||||
/* __restrict is broken with gcc < 4.0
|
||||
#if (defined(__GNUC__) && !OPUS_GNUC_PREREQ(3,4))
|
||||
/* __restrict is broken with gcc < 3.4
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392 */
|
||||
# define OPUS_RESTRICT
|
||||
#elif (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) )
|
||||
|
|
|
@ -92,8 +92,8 @@ extern "C" {
|
|||
# else
|
||||
# define OPUS_RESTRICT
|
||||
# endif
|
||||
#elif (defined(__GNUC__) && (__GNUC__ < 4))
|
||||
/* __restrict is broken with gcc < 4.0
|
||||
#elif (defined(__GNUC__) && !OPUS_GNUC_PREREQ(3,4))
|
||||
/* __restrict is broken with gcc < 3.4
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392 */
|
||||
# define OPUS_RESTRICT
|
||||
#elif (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) )
|
||||
|
|
Loading…
Reference in a new issue