#include "utils.h"
#include "FLAC/assert.h"
#include "FLAC/metadata.h"
+#include "share/compat.h"
#include <string.h>
#include "operations_shorthand.h"
printf("%u\n", block->data.stream_info.bits_per_sample);
break;
case OP__SHOW_TOTAL_SAMPLES:
-#ifdef _MSC_VER
- printf("%I64u\n", block->data.stream_info.total_samples);
-#else
- printf("%llu\n", (unsigned long long)block->data.stream_info.total_samples);
-#endif
+ printf("%" PRIu64 "\n", block->data.stream_info.total_samples);
break;
case OP__SET_MD5SUM:
memcpy(block->data.stream_info.md5sum, operation->argument.streaminfo_md5.value, 16);