home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
gnuplot.lha
/
plot.c.diff
< prev
next >
Wrap
Text File
|
1991-07-04
|
1KB
|
67 lines
TO TRANSFORM RAM:gnuplot-2.0-pl2/plot.c INTO plot.c ...
*** APPEND AFTER 43 IN RAM:gnuplot-2.0-pl2/plot.c ***
>#ifdef AMIGA_LC_5_1
>#include <proto/dos.h>
>#endif
*** APPEND AFTER 125 IN RAM:gnuplot-2.0-pl2/plot.c ***
>#ifdef AMIGA_LC_5_1
>
>#define HOME "GNUPLOT"
>#else /* AMIGA_LC_5_1 */
*** APPEND AFTER 128 IN RAM:gnuplot-2.0-pl2/plot.c ***
>#endif /* AMIGA_LC_5_1 */
*** CHANGE 134 IN RAM:gnuplot-2.0-pl2/plot.c TO [142,145] IN plot.c ***
<#else
---------------
>#else /* unix */
>#ifdef AMIGA_LC_5_1
>#define PLOTRC ".gnuplot"
>#else /* AMIGA_LC_5_1 */
*** CHANGE 136 IN RAM:gnuplot-2.0-pl2/plot.c TO [147,148] IN plot.c ***
<#endif
---------------
>#endif /* AMIGA_LC_5_1 */
>#endif /* unix */
*** APPEND AFTER 189 IN RAM:gnuplot-2.0-pl2/plot.c ***
>#ifdef AMIGA_LC_5_1
> if (IsInteractive(Input()) == DOSTRUE) interactive = TRUE;
> else interactive = FALSE;
>#else
*** APPEND AFTER 190 IN RAM:gnuplot-2.0-pl2/plot.c ***
>#endif
*** CHANGE 270 IN RAM:gnuplot-2.0-pl2/plot.c TO [287,298] IN plot.c ***
<#else
---------------
>#else /* vms */
>#ifdef AMIGA_LC_5_1
> strcpy(home,getenv(HOME));
> {
> int h;
> h = strlen(home) - 1;
> if ((home[h] != ':') && (home[h] != '/')) {
> home[h] = '/';
> home[h+1] = '\0';
> }
> }
>#else /* AMIGA_LC_5_1 */
*** CHANGE 272 IN RAM:gnuplot-2.0-pl2/plot.c TO [300,301] IN plot.c ***
<#endif /* vms */
---------------
>#endif /* AMIGA_LC_5_1 */
>#endif /* vms */