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:
Ozkan Sezer 2017-12-16 21:04:52 +00:00
parent 8d66877da3
commit da83b3b018
2 changed files with 4 additions and 4 deletions

View file

@ -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) )

View file

@ -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) )