projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test for the existence of getcwd, and use it only when found.
[platform/upstream/glib.git]
/
glib.h
diff --git
a/glib.h
b/glib.h
index
d861013
..
f74ad78
100644
(file)
--- a/
glib.h
+++ b/
glib.h
@@
-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)