Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libcelt/float_cast.h')
-rw-r--r--libcelt/float_cast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcelt/float_cast.h b/libcelt/float_cast.h
index 9e74c69..280b491 100644
--- a/libcelt/float_cast.h
+++ b/libcelt/float_cast.h
@@ -94,8 +94,10 @@
#else
+#ifdef __GNUC__ /* supported by gcc, but not by all other compilers*/
#warning "Don't have the functions lrint() and lrintf ()."
#warning "Replacing these functions with a standard C cast."
+#endif /* __GNUC__ */
#include <math.h>