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,25 +29,17 @@ 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"
#include "rsrcfork.h"
@@ -101,7 +93,6 @@ void ResourceFork(const char* path)
FInfo finderInfo;
int32_t count;
HParamBlockRec fpb;
CInfoPBRec cipbr;
HParamBlockRec dirPB;
snprintf((char*)str255, 255, "%s", path);