Example #1
0
int
_tmainCRTStartup(
    void
) {
    /*
     * The /GS security cookie must be initialized before any exception
     * handling targetting the current image is registered.  No function
     * using exception handling can be called in the current image until
     * after __security_init_cookie has been called.
     */
    __security_init_cookie();
    return __tmainCRTStartup();
}
Example #2
0
int mainCRTStartup (void)
{
  mingw_app_type = 0;
  __security_init_cookie ();
  return __tmainCRTStartup ();
}