Document how to tell if your build is fixed-point.

This way we won't break this by accident.
This commit is contained in:
Timothy B. Terriberry 2015-02-20 12:44:10 -08:00
parent 45cbdff36f
commit 75d81f5bb3
2 changed files with 7 additions and 0 deletions

View file

@ -280,6 +280,9 @@ const char *opus_strerror(int error)
const char *opus_get_version_string(void)
{
return "libopus " PACKAGE_VERSION
/* Applications may rely on the presence of this substring in the version
string to determine if they have a fixed-point or floating-point build
at runtime. */
#ifdef FIXED_POINT
"-fixed"
#endif