[rott-commits] r245 - trunk/rott

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Mar 30 04:25:06 EDT 2009


Author: fabian
Date: 2009-03-30 04:25:06 -0400 (Mon, 30 Mar 2009)
New Revision: 245

Modified:
   trunk/rott/dosutil.c
Log:
Fix building under MinGW:
 * mkdir() does only accept one argument
 * EXECINFO is not supported


Modified: trunk/rott/dosutil.c
===================================================================
--- trunk/rott/dosutil.c	2009-03-30 07:55:59 UTC (rev 244)
+++ trunk/rott/dosutil.c	2009-03-30 08:25:06 UTC (rev 245)
@@ -125,7 +125,7 @@
 
 int setup_homedir (void)
 {
-#if PLATFORM_UNIX
+#if PLATFORM_UNIX && !defined(__MINGW32__)
 	int err;
 
 	/* try to create the root directory */
@@ -197,7 +197,7 @@
 	printf ("\033[m");
 }
 
-#if (USE_EXECINFO == 1)
+#if (USE_EXECINFO == 1) && !defined(__MINGW32__)
 #include <execinfo.h>
 
 void print_stack (int level)



More information about the rott-commits mailing list