Showing the changes to src (1 of 2 files). Show all
Unified · Split
| @@ -46,6 +46,12 @@ typedef long int32_t ; · 45 unmodified lines | ||
| 46 | 46 | |
| 47 | 47 | #define MAKE_MAGIC(a,b,c,d,e,f) ((a) + ((b) << 4) + ((c) << 8) + ((d) << 12) + ((e) << 16) + ((f) << 20)) |
| 48 | 48 | |
| 49 | +#ifdef __GNUC__ | |
| 50 | +# define WARN_UNUSED __attribute__ ((warn_unused_result)) | |
| 51 | +#else | |
| 52 | +# define WARN_UNUSED | |
| 53 | +#endif | |
| 54 | + | |
| 49 | 55 | |
| 50 | 56 | #include "samplerate.h" |
| 51 | 57 | |