[Mapserver-dev] Committed basic date support...

Yewondwossen Assefa assefa at dmsolutions.ca
Thu Jan 8 15:08:54 EST 2004


Actually, It has always given me griief :) I was putting ifdef for 
windows and use sprintf.
  I am changing this as suggested by Norman Vine to include
#if defined(_WIN32) && !defined(__CYGWIN__)
#define snprintf _snprintf
#endif

Daniel Morissette wrote:

> Yewondwossen Assefa wrote:
> 
>>
>>  On the same subjet the function snprintf is also not avialable for 
>> Windows causing problems during build time.
>>
> 
> Are you sure about snprintf?  It's in use in several places in MapServer 
> and I never gave any trouble.  Is it not just a missing header file?
> 
> Daniel
> 
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
> 
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------






More information about the mapserver-dev mailing list