freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freesci-develop] Win32 VS7 Glutton Fixes


From: Michael C. Ferguson
Subject: [freesci-develop] Win32 VS7 Glutton Fixes
Date: Wed, 27 Aug 2003 19:40:12 -0500

Hi all,

        Here are a few diffs to make Win32 Glutton compile. Apparently VC++
7.0 does not have some C99 headers (stdint.h); it was also missing strtof(),
so I replaced it with strtod(). Some symbols needed to be added to the .def
file also, for sciv to compile.

        I hope this format is OK -- I just copied the output from WinCVS's
internal diff util. If something is broken or ya'll want diffs in a
different format, please let me know and I will submit them that way.

Best regards,



-- mcf


diff -r1.117.2.10 src/config.c
23d22
< #include <stdint.h> /* May break IA64 test-noansi-r */
24a24,26
> #ifndef WIN32
> #include <stdint.h> /* May break IA64 test-noansi-r */
> #endif /* ifdef WIN32  */
1105a1108
> #ifndef WIN32
1106a1110
> #endif /* ifdef WIN32 */

diff -r1.1.2.29 src/engine/seg_manager.c
32a33,34
> #include <int_hashmap.h>
> 

diff -r1.1.2.1 src/gfx/gfx_res_options.c
32a33,35
> #include <gfx_resource.h>
> 
> #include <stdlib.h>
194c197
<               f[0] = f[1] = f[2] = strtof(src, &endp);
---
>               f[0] = f[1] = f[2] = strtod(src, &endp);
210c213
<                       f[i++] = strtof(src, &endp);
---
>                       f[i++] = strtod(src, &endp);

diff -r1.22.2.2 src/win32/freesci.def
106c106,110
<   script_free_breakpoints
\ No newline at end of file
---
>   script_free_breakpoints
>   gfx_sci0_image_colors
>   gfx_update_conf
>   
>   
\ No newline at end of file







reply via email to

[Prev in Thread] Current Thread [Next in Thread]