POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4, macros trouble : Re: MegaPov 0.4, macros trouble Server Time
2 Sep 2024 18:18:10 EDT (-0400)
  Re: MegaPov 0.4, macros trouble  
From: Nathan Kopp
Date: 3 Feb 2000 10:11:35
Message: <38999aa7@news.povray.org>
david sharp <dsh### [at] interportnet> wrote...
> Many macros are being rejected by MegaPov 0.4
> compiled for DOS (djgpp 2.03, gcc 2.95.2).

Opening POV and INC files in binary mode (as has been suggested) appears to
work, at least with the Windows compile.  I just changed the string
READ_TXTFILE_STRING to READ_BINFILE_STRING in two calls to fopen  (line 1112
in Initialize_Tokenizer and line 3651 in Open_Include).  Could people on
other OSs please test this potential fix (remove the #ifdef _GO32_ stuff in
unget first, though)?  Thanks.

-Nathan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.