From 9e3696943a9bbb6f3b3974aa7ae7da5a705c9ace Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 12 Mar 2021 00:12:29 +0000 Subject: [PATCH] Merge OS/2 links code. --- setter/src/os2/16bit/links.c | 49 ------------------------------ setter/src/os2/{32bit => }/links.c | 11 +------ 2 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 setter/src/os2/16bit/links.c rename setter/src/os2/{32bit => }/links.c (90%) diff --git a/setter/src/os2/16bit/links.c b/setter/src/os2/16bit/links.c deleted file mode 100644 index 4c6daf3..0000000 --- a/setter/src/os2/16bit/links.c +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -Aaru Data Preservation Suite ------------------------------------------------------------------------------ - -Filename : os2_16.c -Author(s) : Natalia Portillo - ---[ Description ] ----------------------------------------------------------- - -Contains 16-bit OS/2 code - ---[ License ] --------------------------------------------------------------- - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as - published by the Free Software Foundation, either version 3 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - ------------------------------------------------------------------------------ -Copyright (C) 2011-2021 Natalia Portillo -*****************************************************************************/ - -#if(defined(__I86__) || defined(__i86__) || defined(_M_I86)) && (defined(__OS2__) || defined(__os2__)) && \ - !defined(__DOS__) - -#define INCL_DOSMISC -#define INCL_DOSFILEMGR - -#include -#include -#include -#include - -#include "../os2.h" -#include "include/consts.h" -#include "include/defs.h" - -void Links(const char* path) -{ /* Do nothing, not supported by target operating system */ -} - -#endif diff --git a/setter/src/os2/32bit/links.c b/setter/src/os2/links.c similarity index 90% rename from setter/src/os2/32bit/links.c rename to setter/src/os2/links.c index 27a9c87..1f1f15b 100644 --- a/setter/src/os2/32bit/links.c +++ b/setter/src/os2/links.c @@ -30,20 +30,11 @@ Copyright (C) 2011-2021 Natalia Portillo #if(defined(__I386__) || defined(__i386__) || defined(__THW_INTEL) || defined(_M_I386)) && \ (defined(__OS2__) || defined(__os2__)) && !defined(__DOS__) -#define INCL_DOSMISC -#define INCL_DOSFILEMGR - -#include -#include -#include -#include - -#include "../os2.h" -#include "include/consts.h" #include "include/defs.h" void Links(const char* path) { + /* Do nothing, not supported by target operating system */ // TODO: Check if can ask WPS to make Shadow }