mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
utils: Compile g_abort() only on Windows
Otherwise it will break the build on non-Windows because of the macro in the header, and the unconditional use of Windows-only API. https://bugzilla.gnome.org/show_bug.cgi?id=665446
This commit is contained in:
parent
2f05d1454e
commit
41df41550f
@ -2391,6 +2391,7 @@ g_check_setuid (void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
/**
|
||||
* g_abort:
|
||||
*
|
||||
@ -2414,3 +2415,4 @@ g_abort (void)
|
||||
/* And one call to bind them all and terminate the program for sure */
|
||||
ExitProcess (127);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user