8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:03:03 +01:00

Code cleanup of obsolete MAC AUX port defines "MAC" and "MAC_CP"

This commit is contained in:
seanleyne 2002-02-16 01:58:24 +00:00
parent 37fe99a2ec
commit 855b4fa319
7 changed files with 52 additions and 53 deletions

View File

@ -1,3 +1,7 @@
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*/
#ifndef AUTOCONFIG_H
#define AUTOCONFIG_H
@ -55,7 +59,6 @@
#undef apollo
#undef sun
#undef SOLARIS
#undef MAC
#undef NeXT
#undef hpux
#undef ultrix
@ -79,4 +82,4 @@
#undef IMP
#undef EPSON
#endif
#endif

View File

@ -19,6 +19,9 @@
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*
*/
/* ------------NOTE NOTE NOTE -----------
@ -369,7 +372,6 @@ typedef UINT16 PDXResult;
#define AIX_CP 8
#define AUX_CP 9
#define XENIX_CP 10
#define MAC_CP 11
/*
// SHIFT-JIS (JAPANESE DBCS)
@ -1019,65 +1021,68 @@ pVOID CALLTYPE LdCalloc(UINT16 NumberItems, UINT16 SizeItem);
// VCS AREA
//-----------------------------------------------------------------
// $Header: /home/job/firebird/cvs-backup/firebird2/src/intl/ld.h,v 1.1.1.1 2001-05-23 13:25:50 tamlin Exp $
// $Header: /home/job/firebird/cvs-backup/firebird2/src/intl/ld.h,v 1.2 2002-02-16 01:58:24 seanleyne Exp $
// $Log: not supported by cvs2svn $
// Revision 1.1.1.1 2001/05/23 13:25:50 tamlin
// First steps towards a C++ conversion.
//
// Revision 1.1.1.1 2000/08/03 20:49:08 skywalker
// Save the whale, feed the poor, and set the sources free.
//
//
// Revision 1.1.1.1 2000/07/29 04:25:02 root
// interbase initial import
//
//
// Revision 1.2.2.2 2000/07/24 20:33:16 chrisj
// Changing the wording of the license boilerplate in all the source files
// to match new changes required by Inprise legal dept on 24 July 2000.
// --Changed by Chris Jewell, not reviewed.
//
//
// Revision 1.2.2.1 2000/07/21 23:02:08 chrisj
// Globally changing the wording of the copyright and license text
// in the headers of all the source files. 2000-07-21 by chrisj
//
//
// Revision 1.2 2000/06/06 22:50:18 stsikin
// Removing #ifdef _ANSI_PROTOTYPES stuff.
// Adding new license/Copyright text.
//
//
// Stanislav Tsikin, 06-JUN-2000.
//
//
// Revision 1.1.1.1 2000/03/05 00:23:55 rkumar
// InterBase 6.0 sources
//
//
//
//
// Rev 1.8 23 Nov 1992 16:46:24 MLEVY
// LD.DLL => LD01.DLL
//
//
// Rev 1.7 10 Nov 1992 17:26:48 MLEVY
// version info modified
//
//
// Rev 1.6 10 Nov 1992 15:24:48 MLEVY
// new defines for CANADA
//
//
// Rev 1.5 10 Nov 1992 11:38:46 MLEVY
// LD_MINOR bumped to 1
//
//
// Rev 1.4 20 Oct 1992 16:40:54 MLEVY
// PIRANHA_CREATE_RESTRUCTURE ifndef added around 3 typedefs
//
//
// Rev 1.3 20 Oct 1992 14:05:58 MLEVY
// LOCAL_EXPAND and LOCAL_SECONDARY added. EXPAND and SECONDARY values changed
// revision bumped. REVERSE replaces REVERSE_DIRECTION
//
//
// Rev 1.2 20 Aug 1992 12:04:34 MLEVY
// LdLibraryName is now a pointer
//
//
// Rev 1.1 08 Aug 1992 14:33:56 MLEVY
// expose LdExit()
//
//
// Rev 1.0 16 Jun 1992 16:37:50 MLEVY
// Initial revision.
//
//
// Rev 1.5 16 Jun 1992 16:01:02 MLEVY
//-----------------------------------------------------------------
*/
#endif /* _INTL_LD_H_ */
#endif /* _INTL_LD_H_ */

View File

@ -25,9 +25,12 @@
* 2001.07.06 Sean Leyne - Code Cleanup, removed "#ifdef READONLY_DATABASE"
* conditionals, as the engine now fully supports
* readonly databases.
*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*
*/
/*
$Id: common.h,v 1.6 2001-12-24 02:50:51 tamlin Exp $
$Id: common.h,v 1.7 2002-02-16 01:58:24 seanleyne Exp $
*/
#ifndef JRD_COMMON_H
@ -106,7 +109,7 @@ $Id: common.h,v 1.6 2001-12-24 02:50:51 tamlin Exp $
#endif /* LINUX */
/* Darwin Platforms */
#ifdef DARWIN
#ifdef DARWIN
#define __LINE__IS_INT
#define SLONGFORMAT "ld"
#define ALIGNMENT 4
@ -334,21 +337,6 @@ $Id: common.h,v 1.6 2001-12-24 02:50:51 tamlin Exp $
#endif /* sun */
/* MAC AUX--this port was never completed */
#ifdef MAC
#define NO_PYXIS
#define SETPGRP setpgrp (0, 0)
#define UNIX 1
#define FB_ALIGN(n,b) ((n+1) & ~1)
#define IMPLEMENTATION 34
#define IEEE
#define ATEXIT(c) atexit (c)
#endif
/* HP/UX platforms */
#if (defined(hpux) || defined(HPUX))
@ -1444,4 +1432,4 @@ typedef struct in_sw_tab_t {
/* Just to be safe we will still define READONLY_DATABASE as it gets phased out */
#define READONLY_DATABASE 1
#endif /* JRD_COMMON_H */
#endif /* JRD_COMMON_H */

View File

@ -19,7 +19,7 @@
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
* $Id: license.h,v 1.3 2001-12-24 02:50:51 tamlin Exp $
* $Id: license.h,v 1.4 2002-02-16 01:58:24 seanleyne Exp $
* Revision 1.5 2000/12/08 16:18:21 fsg
* Preliminary changes to get IB_BUILD_NO automatically
* increased on commits.
@ -34,6 +34,8 @@
* So all changes to version numbers, build types etc. can
* now be done in 'builds_win32/original/build_no.ksh'.
*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*
*/
#ifndef _JRD_LICENSE_H_
@ -97,10 +99,6 @@
#endif
#endif
#ifdef MAC
#define FB_PLATFORM "MA"
#endif
#ifdef PC_PLATFORM
#undef NODE_CHECK
#define NODE_CHECK(val,resp)

View File

@ -36,6 +36,9 @@
*
* 2001.08.07 Sean Leyne - Code Cleanup, removed "#ifdef READONLY_DATABASE"
* conditionals, second attempt
*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*
*/
#include "firebird.h"
@ -130,10 +133,6 @@ static BOOLEAN find_type(SLONG, WIN *, PAG *, USHORT, USHORT, UCHAR **,
#endif
#endif
#ifdef MAC
#define CLASS 9
#endif
#ifdef hpux
#ifdef hp9000s300
#define CLASS 2

View File

@ -1,3 +1,7 @@
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*/
#ifndef AUTOCONFIG_H
#define AUTOCONFIG_H
@ -46,7 +50,6 @@
#undef apollo
#undef sun
#undef SOLARIS
#undef MAC
#undef NeXT
#undef hpux
#undef ultrix
@ -70,4 +73,4 @@
#undef IMP
#undef EPSON
#endif
#endif

View File

@ -1,3 +1,7 @@
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" and "MAC_CP" defines
*/
#ifndef AUTOCONFIG_H
#define AUTOCONFIG_H
@ -36,7 +40,6 @@
#undef apollo
#undef sun
#undef SOLARIS
#undef MAC
#undef NeXT
#undef hpux
#undef ultrix
@ -61,4 +64,4 @@
#undef EPSON
#endif
#endif