diff options
Diffstat (limited to 'os2/director.c')
-rw-r--r-- | os2/director.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/os2/director.c b/os2/director.c index d5accd73e1..3966d3d4bf 100644 --- a/os2/director.c +++ b/os2/director.c @@ -23,6 +23,7 @@ #include <os2.h> +#ifndef PERLGLOB int attributes = A_DIR | A_HIDDEN; @@ -179,7 +180,9 @@ static void free_dircontents(struct _dircontents * dp) } -static int IsFileSystemFAT(char *dir) +static +#endif +int IsFileSystemFAT(char *dir) { USHORT nDrive; ULONG lMap; @@ -216,7 +219,7 @@ static int IsFileSystemFAT(char *dir) } } - +#ifndef PERLGLOB static char *getdirent(char *dir) { int done; @@ -244,3 +247,4 @@ static char *getdirent(char *dir) return NULL; } } +#endif |