[crossfire] [Crossfire-cvs] CVS commit: crossfire

Alex Schultz alex_sch at telus.net
Tue Jun 6 19:04:19 CDT 2006


Crossfire CVS repository messages. wrote:

>Module Name:	crossfire
>Committed By:	ryo_saeba
>Date:		Tue Jun  6 22:16:25 UTC 2006
>
>Modified Files:
>	crossfire/common: loader.c
>	crossfire/make_win32: crossfire32.dsp
>
>Log Message:
>Fix Win32 compilation
>
>  
>
<snip>

>*** 9,15 ****
>--- 9,17 ----
>  #define YY_FLEX_MINOR_VERSION 5
>  
>  #include <stdio.h>
>+ #ifndef WIN32
>  #include <unistd.h>
>+ #endif
>
I'm not sure this is the best fix for it as loader.c is code generated 
from loader.l by flex. Next time someone updates loader.l and 
regenerates loader.c this change will be undone. As this include is made 
by flex and not from loader.l, it would be best to see what options for 
regenerating that flex might have that might help this.

Alex Schultz



More information about the crossfire mailing list