mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't
2001-01-09 Tor Lillqvist <tml@iki.fi> * gutils.c (g_basename, g_dirname): Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't have much choice but to use GLib >= 1.3 on Win32. * glib.def: Update.
This commit is contained in:
committed by
Tor Lillqvist
parent
5f130a176c
commit
78231a4b25
@@ -378,7 +378,7 @@ gchar*
|
||||
g_basename (const gchar *file_name)
|
||||
{
|
||||
register gchar *base;
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
#if defined(G_ENABLE_DEBUG) && !defined(G_OS_WIN32)
|
||||
static gboolean first_call = TRUE;
|
||||
|
||||
if (first_call)
|
||||
@@ -538,7 +538,7 @@ g_path_get_dirname (const gchar *file_name)
|
||||
gchar*
|
||||
g_dirname (const gchar *file_name)
|
||||
{
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
#if defined(G_ENABLE_DEBUG) && !defined(G_OS_WIN32)
|
||||
static gboolean first_call = TRUE;
|
||||
|
||||
if (first_call)
|
||||
|
Reference in New Issue
Block a user