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

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/validate.h')
-rw-r--r--include/common/validate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common/validate.h b/include/common/validate.h
index 32370eb..9114740 100644
--- a/include/common/validate.h
+++ b/include/common/validate.h
@@ -40,7 +40,7 @@
#define validate_input_or_ret_with_msg(x, r, ...) \
if (!(x)) { \
fprintf(stderr, "Input validation check \'%s\' failed in %s!\n", \
- #x, __PRETTY_FUNCTION__); \
+ #x, __func__); \
fprintf(stderr, __VA_ARGS__); \
debug_abort(); \
return r; \
@@ -49,7 +49,7 @@
#define validate_input_or_ret(x, r) \
if (!(x)) { \
fprintf(stderr, "Input validation check \'%s\' failed in %s!\n", \
- #x, __PRETTY_FUNCTION__); \
+ #x, __func__); \
debug_abort(); \
return r; \
}