mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
parent
2282678866
commit
143f30bfcb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue