
abspath.c

arbmath.c

arbmath.h

arpadate.c

arpadate.h

bugout.c

catcher.c

catcher.h

chdir.c
48a49,52
> 
> #ifdef __GCC__
> #include <stdlib.h>
> #else
49a54
> #endif
156a162,164
> #ifdef __GCC__
>       _getcwd2(savePath, sizeof savePath);
> #else
157a166
> #endif

checkptr.c

configur.c
1311d1310
< 
1313,1314c1312
< 
<    return success;
---
>    return (success);

confvars.h

creat.c
15,17d14
< 
< #ifndef __GNUC__
< 
19d15
< #endif
38a35
> #ifndef __GCC__
39a37
> #endif

dater.c

dater.h

difflib.txt

dos2unix.c

dos2unix.h

execute.c
179a180,182
> #ifdef __GCC__
> #include <stdlib.h>
> #else
180a184
> #endif
838a843,848
>    int result;
> #ifdef __GCC__
>    int i;
>    char *parms[15], *p;
>    char commandLine[256];
> #endif
880a891,915
> #ifdef __GCC__
>    strcpy(commandLine, command);
>    strcat(commandLine, " ");
>    strcat(commandLine, parameters);
>    p = parms[0] = commandLine;
>    i = 1;
> 
>    while (*p != '\0')
>    {
>       if (*p == ' ')
>       {
>          *p = '\0';
>          p++;
>          parms[i] = p;
>          i++;
>       }
>       else
>       {
>          p++;
>       } /* endif */
>    } /* endwhile */
>    p++;
>    parms[i] = p = NULL;
> #endif
> 
883c918,923
<       int result = spawnl(  P_WAIT,
---
> #ifdef __GCC__
>       result = spawnv(  P_WAIT,
>                         command,
>                         parms);
> #else
>       result = spawnl(  P_WAIT,
887a928
> #endif
891d931
< 

execute.h

expath.c
84a85,87
> #ifdef __GCC__
> #include <stdlib.h>
> #else
85a89
> #endif
173a178,180
> #ifdef __GCC__
>          if(_fullpath(path, save, sizeof save) != 0)
> #else
175d181
< 
176a183
> #endif

expath.h

export.c

export.h

filebkup.c
60,61d59
< #ifndef __GNUC__
< 
63a62
> #ifndef __GCC__
64a64,65
> #else
> #include <stdio.h>

fopen.c

getargs.c

getdrive.c
33a34,36
> #ifdef __GCC__
> #include <stdlib.h>
> #else
34a38
> #endif
60a65,67
> #ifdef __GCC__
>    return (_getdrive());
> #else
62c69
< 
---
> #endif

getopt.c

getopt.h

getseq.c

getseq.h

hlib.h

hostable.c
131a132,135
> #ifndef max
> #define max(x,y) (((x) > (y)) ? (x) : (y))
> #endif
> 

hostable.h

hostatus.c

hostatus.h

hostrset.c

hostrset.h

imfile.c

imfile.h

import.c
163a164,167
> #ifndef max
> #define max(x,y) (((x) > (y)) ? (x) : (y))
> #endif
> 
328c332
<       size_t subscript = 0;   /* Value of UNIX character to be
---
>       unsigned subscript = 0;   /* Value of UNIX character to be
690c694
<          APIRET result = DosQPathInfo( (PSZ) s,
---
>          APIRET result = DosQueryPathInfo( (PSZ) s,

import.h

kanjicnv.c

kanjicnv.h

lib.h

lib.mak

lock.c

lock.h

logger.c

logger.h

mkdir.c
65a66,68
> #ifdef __GCC__
> #include <stdlib.h>
> #else
66a70
> #endif
95a100,102
> #ifdef __GCC__
>       mkdir(path, 0);
> #else
96a104
> #endif
104a113,115
> #ifdef __GCC__
>    return mkdir((char *) inpath, 0);
> #else
105a117
> #endif

mkfilenm.c

mkmbox.c

mktempnm.c

ndiros2.c

normaliz.c
88d87
< 
89a89,92
> 
> #ifdef __GCC__
> #include <stdlib.h>
> #else
90a94
> #endif
179c183,187
<    else {
---
>    else
>    {
> #ifdef __GCC__
>       if(_fullpath(save, path, sizeof save) != 0)
> #else
181d188
< 
182a190
> #endif

pos2err.c

pos2err.h

printerr.c

printmsg.c

pushpop.c
84a85,87
> #ifdef __GCC__
> #include <stdlib.h>
> #else
85a89,90
> #endif
> 
104a110,113
> 
> #ifdef __GCC__
> static char drivestack[MAXDEPTH];
> #else
105a115
> #endif
138c148,152
<    drivestack[depth] = getDrive( NULL ) - 'A' + 1;
---
> #ifdef __GCC__
>    drivestack[depth] = getDrive(NULL);
> #else
>    drivestack[depth] = getDrive(NULL) - 'A' + 1;
> #endif
141a156,158
> #ifdef __GCC__
>       if(_chdrive(toupper(*directory)))
> #else
142a160
> #endif
155a174,176
> #ifdef __GCC__
>    dirstack[depth] = getcwd(cwd, FILENAME_MAX);
> #else
156a178
> #endif
172c194,197
<    printmsg(5,"PushDir: pushed from %c %s (depth %d) to %s",
---
>    printf("PushDir: pushed from %c %s (depth %d) to %s",
> #ifdef __GCC__
>                drivestack[depth],
> #else
173a199
> #endif
208a235,238
> #ifdef __GCC__
>    E_cwd = _getcwd2(cwd, FILENAME_MAX);
>    E_cwd = newstr(cwd);
> #else
210a241
> #endif
213c244
<    printmsg(5,"PopDir: popped from %s to %c %s (depth %d) %s",
---
>    printf("PopDir: popped from %s to %c %s (depth %d) %s",
214a246,248
> #ifdef __GCC__
>                drivestack[depth],
> #else
215a250
> #endif

pushpop.h

readnext.c

readnext.h

remove2.c
47a48,53
> #ifdef __GCC__
> #define ENOTEXIST ENOENT
> #define EACCESS EACCES
> #define EOS2ERR EIO
> #endif
> 

rename.c

safeio.c

safeio.h

safeout.c

scrsize.h

scrsize2.c

security.c
132a133,135
> #ifdef __GCC__
> #include <stdlib.h>
> #else
133a137
> #endif

security.h

ssleep.c

ssleep.h

stater.c

stater.h

strlwr.c

strpool.c

timestmp.c
70a71,73
> #ifdef __GCC__
> #include <stdlib.h>
> #else
71a75,76
> #endif
> 
176c181
< /*                     Deterine the program name                      */
---
> /*                     Determine the program name                     */

timestmp.h

title.h

title2.c

trumpet.c

trumpet.h

usertabl.c

usertabl.h

usrcatch.c
83c83,84
< extern unsigned long raised = 0;
---
> //extern 
> unsigned long raised = 0;

usrcatch.h

uundir.h

uupcmoah.h

uutypes.h

validcmd.c

win32ver.h
5c5
< #define UUPCV "1.12r"         /* UUPC/extended version number */
---
> #define UUPCV "1.12r.jdc0"         /* UUPC/extended version number */
