mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
Avoid compilation warning from MSVC
Signed-off-by: Tor Lillqvist <tml@iki.fi>
This commit is contained in:
parent
d13c552daf
commit
e8ccfd1bb2
@ -287,7 +287,7 @@ void g_atexit (GVoidFunc func);
|
|||||||
* wants the function to be called when it *itself* exits (or is
|
* wants the function to be called when it *itself* exits (or is
|
||||||
* detached, in case the caller, too, is a DLL).
|
* detached, in case the caller, too, is a DLL).
|
||||||
*/
|
*/
|
||||||
#if defined(__MINGW_H) && !defined(_STDLIB_H_)
|
#if (defined(__MINGW_H) && !defined(_STDLIB_H_)) || (defined(_MSC_VER) && !defined(_INC_STDLIB))
|
||||||
int atexit (void (*)(void));
|
int atexit (void (*)(void));
|
||||||
#endif
|
#endif
|
||||||
#define g_atexit(func) atexit(func)
|
#define g_atexit(func) atexit(func)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user