summaryrefslogtreecommitdiffstats
path: root/src/sdl_net-test.c
blob: 8a4b40cd3a4328de057e6a139551fc4cb200c857 (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;
}