This patch works here, and should be applied to simgear-cvs without delay.

 

Vivian

 

-----Original Message-----
From: john grant [mailto:johnkonradgr...@yahoo.com] 
Sent: 19 February 2009 19:22
To: flightgear-devel@lists.sourceforge.net
Subject: [Flightgear-devel] simgear: win32 fix, iolib.c errors

 

Hi,
In today's CVS, the type 'mode_t' was not defined in simgear/nasal/iolib.c.
I noticed this type was defined in a C++ header file
(simgear/misc/sg_path.hxx), but this could not included in the C file in
question.  Borrowing from that header, pasting these lines near the top of
iolib.c, fixes the compile error.

#ifdef _MSC_VER
  typedef int mode_t;
#endif

Thanks for the simulator!
John

 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to