Revision d6773f56

View differences:

configure
493 493
    done
494 494
    check_ld "$@" <<EOF && enable $func
495 495
$incs
496
int main(void){
496
int main(int argc, char **argv){
497 497
    (void) $func;
498 498
    return 0;
499 499
}
......
1706 1706
            enable sdl
1707 1707
            check_cc $sdl_cflags <<EOF && enable sdl_video_size
1708 1708
#include <SDL.h>
1709
int main(void){
1709
int main(int argc, char **argv){
1710 1710
    const SDL_VideoInfo *vi = SDL_GetVideoInfo();
1711 1711
    int w = vi->current_w;
1712 1712
    return 0;

Also available in: Unified diff