[Common-dev] CN-Client: Fix build busters on WinCE

[Common-dev] CN-Client: Fix build busters on WinCE

Kevin Ross kross at real.com
Thu May 6 13:54:23 PDT 2004


Committed to HEAD and neptunex.

I only added the one missing field, because _dev_t and _ino_t are undefined 
on WinCE, and probably other platforms as well.  Also, those fields are 
very OS specific, but the point of having this in hlxclib is for OS 
independence.  We can always add them later if we need to use them.

-- Kevin

At 08:28 PM 5/4/2004, milko wrote:

>i would suggest adding these fields in expected order;
>
>struct stat {
>         _dev_t st_dev;
>         _ino_t st_ino;
>         unsigned short st_mode;
>         short st_nlink;
>         short st_uid;
>         short st_gid;
>         _dev_t st_rdev;
>         _off_t st_size;
>         time_t st_atime;
>         time_t st_mtime;
>         time_t st_ctime;
>         };
>
>Milko
>
>At 07:07 PM 5/4/2004, Kevin Ross wrote:
>>This fixes a build buster on WinCE.  It simply adds a missing member to 
>>the stat struct in hlxclib/sys/types.h
>>
>>-- Kevin
>>
>>
>>
>>Index: types.h
>>===================================================================
>>RCS file: /cvsroot/common/runtime/pub/hlxclib/sys/types.h,v
>>retrieving revision 1.4
>>diff -u -r1.4 types.h
>>--- types.h     13 Jun 2003 20:11:56
>>-0000      1.4
>>+++ types.h     19 Mar 2004 02:25:42 -0000
>>@@ -64,6 +64,7 @@
>>       time_t st_atime;
>>       time_t st_ctime;
>>       time_t st_mtime;
>>+    short st_nlink;
>>   };
>>
>>   #elif defined(WIN32_PLATFORM_PSPC)
>>@@ -79,6 +80,7 @@
>>       time_t st_atime;
>>       time_t st_ctime;
>>       time_t st_mtime;
>>+    short st_nlink;
>>   };
>>
>>   #endif /* defined(WIN32_PLATFORM_PSPC) */
>>
>>
>>
>>
>>
>>_______________________________________________
>>
>>Common-dev mailing list
>>
>>Common-dev at lists.helixcommunity.org
>>
>>http://lists.helixcommunity.org/mailman/listinfo/common-dev
>>
>
>
>
>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.helixcommunity.org/pipermail/common-dev/attachments/20040506/33047309/attachment.htm


More information about the Common-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.