view src/dmtool.h @ 2262:f92d4f056587

The return value of dmResourceRef() and dmResourceUnref() had a possibility of being off by one due to a potential race condition. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Jun 2019 00:57:02 +0300
parents a9516570cc26
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