From 143f30bfcb6251e38d7a855dde6f92d47d189cfe Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 18 Apr 2012 14:12:16 +0400 Subject: [PATCH] info: Cut down src file names for MinGW too Fixes #674320 --- gst/gstinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 93cb188..26670b7 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -438,7 +438,7 @@ gst_debug_log (GstDebugCategory * category, GstDebugLevel level, va_end (var_args); } -#ifdef _MSC_VER +#ifdef G_OS_WIN32 /* based on g_basename(), which we can't use because it was deprecated */ static inline const gchar * gst_path_basename (const gchar * file_name) @@ -494,7 +494,7 @@ gst_debug_log_valist (GstDebugCategory * category, GstDebugLevel level, /* The predefined macro __FILE__ is always the exact path given to the * compiler with MSVC, which may or may not be the basename. We work * around it at runtime to improve the readability. */ -#ifdef _MSC_VER +#ifdef G_OS_WIN32 file = gst_path_basename (file); #endif -- 2.7.4