This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit e1bfe5ea0d08d0981c100dbb727e4f680df97a99
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Jul 28 19:13:59 2023 +0200
epp: Unifdef __EMX__
Long gone elsewhere.
---
epp/cppexp.c | 3 ---
epp/cpplib.c | 11 -----------
epp/cpplib.h | 3 ---
epp/cppmain.c | 4 ----
4 files changed, 21 deletions(-)
diff --git a/epp/cppexp.c b/epp/cppexp.c
index 507fec35..1f47dda0 100644
--- a/epp/cppexp.c
+++ b/epp/cppexp.c
@@ -28,9 +28,6 @@
#include "cpplib.h"
#include "cpphash.h"
-#ifdef __EMX__
-#include <strings.h>
-#endif
#ifdef MULTIBYTE_CHARS
#include <locale.h>
diff --git a/epp/cpplib.c b/epp/cpplib.c
index f5056faa..54dbf805 100644
--- a/epp/cpplib.c
+++ b/epp/cpplib.c
@@ -27,9 +27,6 @@ const char *version_string = "0.0.0";
#include "config.h"
-#ifdef __EMX__
-#include <strings.h>
-#endif
#ifndef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR "/usr/include"
@@ -3320,11 +3317,7 @@ do_include(cpp_reader * pfile, struct directive *keyword,
/* If specified file name is absolute, just open it. */
-#ifndef __EMX__
if (*fbeg == '/')
-#else
- if (_fnisabs(fbeg))
-#endif
{
strncpy(fname, (const char *)fbeg, flen);
fname[flen] = 0;
@@ -5380,11 +5373,7 @@ read_name_map(cpp_reader * pfile, const char *dirname)
if (*dirname)
strcat(name, "/");
strcat(name, FILE_NAME_MAP_FILE);
-#ifndef __EMX__
f = fopen(name, "r");
-#else
- f = fopen(name, "rt");
-#endif
if (!f)
map_list_ptr->map_list_map = NULL;
else
diff --git a/epp/cpplib.h b/epp/cpplib.h
index 04be98e7..66965083 100644
--- a/epp/cpplib.h
+++ b/epp/cpplib.h
@@ -636,6 +636,3 @@ void *xmalloc(unsigned size);
void *xrealloc(void *old, unsigned size);
void *xcalloc(unsigned number, unsigned size);
-#ifdef __EMX__
-#define PATH_SEPARATOR ';'
-#endif
diff --git a/epp/cppmain.c b/epp/cppmain.c
index 0cf2d94d..f407662b 100644
--- a/epp/cppmain.c
+++ b/epp/cppmain.c
@@ -44,11 +44,7 @@ main(int argc, char **argv)
int got_text;
p = argv[0] + strlen(argv[0]);
-#ifndef __EMX__
while (p != argv[0] && p[-1] != '/')
-#else
- while (p != argv[0] && p[-1] != '/' && p[-1] != '\\')
-#endif
--p;
progname = p;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.