diff ply2bin.cpp @ 35:d0cd281934a3

Add TOOL_LDFLAGS.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 26 Nov 2019 07:22:35 +0200
parents 1a0e823283e4
children 7b138613e2fc
line wrap: on
line diff
--- a/ply2bin.cpp	Tue Nov 26 07:17:49 2019 +0200
+++ b/ply2bin.cpp	Tue Nov 26 07:22:35 2019 +0200
@@ -6,6 +6,11 @@
 // See file "COPYING" for license information.
 //
 #include <SDL.h>
+
+// Get rid of the SDL_main mess for some commandline tools
+#define _SDL_main_h
+#define SDL_main main
+
 #include "dmutil.h"
 #include "dmmodel.h"