On Wed, 26 Aug 2009, Danny Backx wrote:

On Wed, 2009-08-26 at 20:26 +0200, Vincent Torri wrote:
I think that the same stuff is missing for struct timezone in sys/time.h

Something like this ?

yes, exactly

Vincent Torri


        Danny

pavilion: {1014} svn diff sys/time.h
Index: sys/time.h
===================================================================
--- sys/time.h  (revision 1227)
+++ sys/time.h  (working copy)
@@ -23,11 +23,14 @@
/* Provided for compatibility with code that assumes that
   the presence of gettimeofday function implies a definition
   of struct timezone. */
+#ifndef _TIMEZONE_DEFINED
struct timezone
{
  int tz_minuteswest; /* of Greenwich */
  int tz_dsttime;     /* type of dst correction to apply */
};
+#define _TIMEZONE_DEFINED
+#endif

/*
   Implementation as per:
pavilion: {1015}
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to