summaryrefslogtreecommitdiffstats
path: root/src/sdl_net-test.c
blob: f3a2e08b9e122d04441a391b08cd5a4908b64e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <SDL_net.h>

int main(int argc, char *argv[])
{
    (void)argc;
    (void)argv;

    if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1;
    if (SDLNet_Init() < 0) return 1;

    SDLNet_Quit();
    SDL_Quit();
    return 0;
}