opus/win32/config.h
Koen Vos 494ce976e2 Squashed commit of the following:
commit dfe4d46f9abf6b0e96e66370d428da4e283204ce
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Mon May 2 09:59:45 2011 -0400

    SILK file list update

commit 5faf541d86445eb8ce1775ea206e88afe83c7107
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Mon May 2 09:51:29 2011 -0400

    Makefiles update

commit f5d70b3ccbe209cc07a1a604fffca93ea34bc64b
Author: Koen Vos <koen.vos@skype.net>
Date:   Mon May 2 09:50:33 2011 -0400

    SILK stereo update and MSVC build update
2011-05-02 10:01:10 -04:00

27 lines
1.1 KiB
C

#ifndef CONFIG_H
#define CONFIG_H
#define CELT_BUILD 1
#define restrict
#define inline __inline
#define USE_ALLOCA 1
/* Comment out the next line for floating-point code */
//#define FIXED_POINT 1
#define OPUS_BUILD 1
/* Get rid of the CELT VS compile warnings */
#if 1
#pragma warning(disable : 4018)// signed/unsigned mismatch
#pragma warning(disable : 4244)// conversion from 'double' to 'celt_word16', possible loss of data
#pragma warning(disable : 4267)// conversion from 'size_t' to 'int', possible loss of data
#pragma warning(disable : 4305)// truncation from 'double' to 'const float'
#pragma warning(disable : 4311)// pointer truncation from 'char *' to 'long'
#pragma warning(disable : 4554)// check operator precedence for possible error; use parentheses to clarify precedence
#pragma warning(disable : 4996)// This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
#endif
#endif CONFIG_H