Remove hpversion.h from repository

This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
This commit is contained in:
chase
2018-10-05 15:26:13 -05:00
committed by Jon Trulson
parent 90a2b2848a
commit dd68514e4f
92 changed files with 115 additions and 1576 deletions

View File

@@ -47,13 +47,6 @@
extern "C" {
#endif
#if defined(SunOS)
#if (RELMAJOR==5)
#if (RELMINOR<2)
#define STRCASECMP_NOT_DEFINED
#endif /* RELMINOR */
#endif /* RELMAJOR */
#endif
/*
** System V R4 based systems define the stuff we need in
@@ -162,14 +155,6 @@ typedef enum {B_FALSE, B_TRUE} boolean_t;
#endif /* AIX */
/*
* A bug in Solaris 2.1 and the GNU compilers, these are not defined.
*/
#ifdef STRCASECMP_NOT_DEFINED
extern int strcasecmp(const char *, const char *);
extern int strncasecmp(const char *, const char *, size_t);
#endif
#ifdef __cplusplus
}
#endif

View File

@@ -2,7 +2,7 @@ XCOMM $TOG: Imakefile /main/4 1997/07/09 10:03:24 samborn $
#define PassCDebugFlags /**/
#define IHaveSubdirs
HEADERS = hpversion.h EUSCompat.h
HEADERS = EUSCompat.h
SUBDIRS = Xm
MakeSubdirs($(SUBDIRS))

View File

@@ -1,55 +0,0 @@
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
/* $XConsortium: hpversion.h /main/5 1996/08/30 15:22:49 drk $ */
/* -*-C-*-
****************************************************************
*/
/* The following macro should be invoked once by each of the X11 components
to provide standard revision information. */
#ifndef lint
#define version_tag(FILE_VERSION) \
static char _hp_merge_version[] = "@(#)" FILE_VERSION;
#else /* lint */
#define version_tag(FILE_VERSION)
#endif /* lint */
/* Any revision information other than the standard 'hpversion' macro shoud
be conditionally compiled using the VERBOSE_REV_INFO constant so that it
can be excluded for official X11 releases. To set VERBOSE_REV_INFO, comment
out one of the following 2 blocks. */
/* This block turns on VERBOSE_REV_INFO */
/*
#ifndef lint
#define VERBOSE_REV_INFO 1
#else
#ifdef VERBOSE_REV_INFO
#undef VERBOSE_REV_INFO
#endif
#endif
*/
/* This block turns off VERBOSE_REV_INFO */
#ifdef VERBOSE_REV_INFO
#undef VERBOSE_REV_INFO
#endif