view src/dmtool.h @ 1432:a9516570cc26

Improve build, so that we can build the tools and tests with minimal depencies (e.g. without libSDL linking when possible.) And this also on Win32 MinGW.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 22 Nov 2017 01:33:21 +0200
parents
children bcd33c77c605
line wrap: on
line source

/*
 * DMLib
 * Get rid of the SDL_main for some commandline tools
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2012 Tecnic Software productions (TNSP)
 */
#ifndef DMTOOL_H
#define DMTOOL_H 1

// Get rid of the SDL_main mess for some commandline tools
#define _SDL_main_h
#define SDL_main main

#endif