mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
Test for the existence of getcwd, and use it only when found.
2000-09-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * acconfig.h, configure.in, gutils.c: Test for the existence of getcwd, and use it only when found. * glib.h: Only use the gcc-variable-macro-argument-extension for gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
ddbb2ea440
commit
e2600b0476
@@ -1508,7 +1508,7 @@ GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
||||
#define g_warning(...) g_log (G_LOG_DOMAIN, \
|
||||
G_LOG_LEVEL_WARNING, \
|
||||
__VA_ARGS__)
|
||||
#elif defined (__GNUC__)
|
||||
#elif __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 4)
|
||||
#define g_error(format...) g_log (G_LOG_DOMAIN, \
|
||||
G_LOG_LEVEL_ERROR, \
|
||||
format)
|
||||
|
Reference in New Issue
Block a user