Browse Source

Pass argc and argv to the main function of the SDL tests.

This appears to be required on Windows and does no harm on Linux.
closes issue 344, patch by jdm

Originally committed as revision 11662 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 18 years ago
parent
commit
d6773f563d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      configure

+ 2
- 2
configure View File

@@ -493,7 +493,7 @@ check_func2(){
done
check_ld "$@" <<EOF && enable $func
$incs
int main(void){
int main(int argc, char **argv){
(void) $func;
return 0;
}
@@ -1706,7 +1706,7 @@ if "${SDL_CONFIG}" --version >/dev/null 2>&1; then
enable sdl
check_cc $sdl_cflags <<EOF && enable sdl_video_size
#include <SDL.h>
int main(void){
int main(int argc, char **argv){
const SDL_VideoInfo *vi = SDL_GetVideoInfo();
int w = vi->current_w;
return 0;


Loading…
Cancel
Save