From 136588e2400552309898bcbd10aeb73b12586756 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Sun, 4 Apr 2021 01:44:16 +0200 Subject: Ports: Removed now unnecesary patch for the Prince of Persia port As now strtoimax() is implemented we have no need to replace it to strtol(). --- Ports/SDLPoP/patches/remove_strtoimax.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Ports/SDLPoP/patches/remove_strtoimax.patch diff --git a/Ports/SDLPoP/patches/remove_strtoimax.patch b/Ports/SDLPoP/patches/remove_strtoimax.patch deleted file mode 100644 index 86ed22871b..0000000000 --- a/Ports/SDLPoP/patches/remove_strtoimax.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/options.c b/src/options.c -index 1bfe473..ba13dab 100644 ---- a/src/options.c -+++ b/src/options.c -@@ -130,7 +130,7 @@ static int ini_process_##data_type(const char* curr_name, const char* value, con - if(strcasecmp(curr_name, option_name) == 0) { \ - if (strcasecmp(value, "default") != 0) { \ - int named_value = ini_get_named_value(value, value_names); \ -- *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtoimax(value, NULL, 0)) : ((data_type) named_value); \ -+ *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtol(value, NULL, 0)) : ((data_type) named_value); \ - } \ - return 1; /* finished; don't look for more possible options that curr_name can be */ \ - } \ -- cgit v1.2.3