mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +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>
|
2008-02-13 Ryan Lortie <desrt@desrt.ca>
|
||||||
|
|
||||||
* docs/reference/gio/gio-sections.txt: add
|
* docs/reference/gio/gio-sections.txt: add
|
||||||
|
@ -101,6 +101,9 @@
|
|||||||
# ifndef CSIDL_COMMON_APPDATA
|
# ifndef CSIDL_COMMON_APPDATA
|
||||||
# define CSIDL_COMMON_APPDATA 35
|
# define CSIDL_COMMON_APPDATA 35
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef CSIDL_MYPICTURES
|
||||||
|
# define CSIDL_MYPICTURES 0x27
|
||||||
|
# endif
|
||||||
# ifndef CSIDL_COMMON_DOCUMENTS
|
# ifndef CSIDL_COMMON_DOCUMENTS
|
||||||
# define CSIDL_COMMON_DOCUMENTS 46
|
# define CSIDL_COMMON_DOCUMENTS 46
|
||||||
# endif
|
# endif
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#define win32_check_for_error(what) G_STMT_START{ \
|
#define win32_check_for_error(what) G_STMT_START{ \
|
||||||
if (!(what)) \
|
if (!(what)) \
|
||||||
g_error ("file %s: line %d (%s): error %s during %s", \
|
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_win32_error_message (GetLastError ()), #what); \
|
||||||
}G_STMT_END
|
}G_STMT_END
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user