From f286661035f4f6b01cef7d80c510140c2518f25b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 13 Feb 2015 13:08:54 +0100 Subject: Drop Windows/Mac support, require pthreads --- flam3-convert.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'flam3-convert.c') diff --git a/flam3-convert.c b/flam3-convert.c index 3062a4b..3758fba 100644 --- a/flam3-convert.c +++ b/flam3-convert.c @@ -188,22 +188,6 @@ main(int argc, char **argv) { char *s, *ss; -#ifdef WIN32 - - char *slashloc; - char palpath[256],exepath[256]; - - slashloc = strrchr(argv[0],'\\'); - if (NULL==slashloc) { - sprintf(palpath,"flam3_palettes=flam3-palettes.xml"); - } else { - strncpy(exepath,argv[0],slashloc-argv[0]+1); - sprintf(palpath,"flam3_palettes=%sflam3-palettes.xml",exepath); - } - putenv(palpath); - -#endif - if (1 != argc) { docstring(); exit(0); -- cgit v1.2.3