mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
Avoid gcc warning about redeclaration of atexit() on MinGW
This commit is contained in:
parent
a9c4320e81
commit
6e86c9a6aa
@ -287,7 +287,9 @@ void g_atexit (GVoidFunc func);
|
||||
* wants the function to be called when it *itself* exits (or is
|
||||
* detached, in case the caller, too, is a DLL).
|
||||
*/
|
||||
#if defined(__MINGW_H) && !defined(_STDLIB_H_)
|
||||
int atexit (void (*)(void));
|
||||
#endif
|
||||
#define g_atexit(func) atexit(func)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user