mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
define CSIDL_MYPICTURES if not available use G_STRFUNC instead of compiler
2008-02-17 Hans Breuer <hans@breuer.org> * glib/gutils.c : define CSIDL_MYPICTURES if not available * gthread/gthread-win32.c : use G_STRFUNC instead of compiler specific __FUNCTION__ svn path=/trunk/; revision=6526
This commit is contained in:
parent
a2874f7ac3
commit
521e741d56
@ -1,3 +1,9 @@
|
||||
2008-02-17 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* glib/gutils.c : define CSIDL_MYPICTURES if not available
|
||||
* gthread/gthread-win32.c : use G_STRFUNC instead of compiler
|
||||
specific __FUNCTION__
|
||||
|
||||
2008-02-13 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
* docs/reference/gio/gio-sections.txt: add
|
||||
|
@ -101,6 +101,9 @@
|
||||
# ifndef CSIDL_COMMON_APPDATA
|
||||
# define CSIDL_COMMON_APPDATA 35
|
||||
# endif
|
||||
# ifndef CSIDL_MYPICTURES
|
||||
# define CSIDL_MYPICTURES 0x27
|
||||
# endif
|
||||
# ifndef CSIDL_COMMON_DOCUMENTS
|
||||
# define CSIDL_COMMON_DOCUMENTS 46
|
||||
# endif
|
||||
|
@ -48,7 +48,7 @@
|
||||
#define win32_check_for_error(what) G_STMT_START{ \
|
||||
if (!(what)) \
|
||||
g_error ("file %s: line %d (%s): error %s during %s", \
|
||||
__FILE__, __LINE__, __FUNCTION__, \
|
||||
__FILE__, __LINE__, G_STRFUNC, \
|
||||
g_win32_error_message (GetLastError ()), #what); \
|
||||
}G_STMT_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user