remove OSF1 support
This commit is contained in:
@@ -357,7 +357,7 @@ char *qualname;
|
||||
char *unqualname;
|
||||
#endif
|
||||
{
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
FILE *f;
|
||||
#endif
|
||||
char fn[FNAMELEN];
|
||||
@@ -381,7 +381,7 @@ else
|
||||
|
||||
fnp = fn;
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
qualname[0] = '\0';
|
||||
gp = qualname + strlen(qualname);
|
||||
roomleft = roomleft - strlen(qualname);
|
||||
@@ -495,7 +495,7 @@ do {
|
||||
while (1);
|
||||
*strrchr(qualname, CSEP) = '\0';
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
#else
|
||||
strupr ( qualname );
|
||||
#endif
|
||||
|
||||
@@ -168,17 +168,6 @@
|
||||
m_free(wc_1,"wide character string");
|
||||
m_free(wc_2,"wide character string");
|
||||
}
|
||||
#else
|
||||
#if defined(__osf__)
|
||||
{
|
||||
M_WCHAR *wc_1, *wc_2;
|
||||
|
||||
wc_1 = MakeWideCharString("OSF1");
|
||||
wc_2 = MakeWideCharString("m-machine");
|
||||
m_piaction(wc_1, wc_2, M_SDATA) ;
|
||||
m_free(wc_1,"wide character string");
|
||||
m_free(wc_2,"wide character string");
|
||||
}
|
||||
#else
|
||||
m_piaction("UNDEFINED MACHINE",
|
||||
"m-machine",
|
||||
@@ -186,7 +175,6 @@
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
<\CODE>
|
||||
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
#include <sys\stat.h>
|
||||
#endif
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun)
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun)
|
||||
#undef M_PI /* M_PI is used by markup, we don't need the math PI */
|
||||
#endif
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ int main(argc, argv)
|
||||
"prevcon=%d,token=%d,curcon=%d,scanval='%c'(%d),line=%d,netlevel=%d\n" ;
|
||||
static char name[] = "m_name = '%s'\n" ;
|
||||
static char literal[] = "m_literal = '%s'\n" ;
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__osf__) || defined(linux)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(linux)
|
||||
char buffer[M_LITLEN + 80] ;
|
||||
#else
|
||||
#define max4(a,b,c,d) (a>b&&a>c&&a>d) ? a : ((b>c&&b>d) ? b : (c>d ? c : d))
|
||||
|
||||
Reference in New Issue
Block a user