diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/dmtool.h	Wed Nov 22 01:33:21 2017 +0200
@@ -0,0 +1,14 @@
+/*
+ * 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