summaryrefslogtreecommitdiffstats
path: root/src/sdl_net-test.c
blob: 24c4753a54b70a216489b8c1f3135896e3e7d466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This file is part of MXE.                   */
/* 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;
}