Remove unused MacOS code.

This commit is contained in:
2021-03-14 07:13:13 +00:00
parent 8b1843731f
commit 10efebaef6
17 changed files with 29 additions and 179 deletions

View File

@@ -29,38 +29,22 @@ Copyright (C) 2011-2021 Natalia Portillo
#if defined(macintosh)
#if defined(HAVE_ALIASES_H) || !defined(HAVE_MULTIVERSE_H)
#include <Aliases.h>
#endif
#if defined(HAVE_FILE_TYPES_AND_CREATORS_H) || !defined(HAVE_MULTIVERSE_H)
#include <FileTypesAndCreators.h>
#endif
#include <Files.h>
#include <Gestalt.h>
#include <MacTypes.h>
#include <Resources.h>
#include <TextUtils.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../include/consts.h"
#include "../include/defs.h"
#include "macos.h"
void DirectoryDepth(const char* path)
{
OSErr rc, wRc, cRc;
OSErr rc;
Str255 str255;
HVolumeParam hpb;
int16_t refNum;
int16_t refFile;
int32_t dirId;
FInfo finderInfo;
int32_t count;
char filename[9];
int pos = 0;
HParamBlockRec dirPB;
@@ -92,8 +76,6 @@ void DirectoryDepth(const char* path)
return;
}
dirId = dirPB.fileParam.ioDirID;
printf("Creating deepest directory tree.\n");
while(!rc)