*/
Looking for work? Check out our jobs area.
*/

View \TAILOR.H

Convert Roman numbers to/from Arabic, w/C src

Submitted By: Unknown
Rating: starstarstarstar (Rate It)


/* tailor.h

Abbreviated version of tailor.h, not copyrighted 1992 by Mark Adler,
which is part of the Info-Zip distribution.

Provides the macro OF which is used to remove arguments in function
prototypes for non-ANSI C.

*/


/* Define MSDOS for Turbo C as well as Microsoft C */
#ifdef __POWERC                 /* For Power C too */
#  define __TURBOC__
#endif /* __POWERC */
#if (defined(__TURBOC__) && !defined(MSDOS))
#  define MSDOS
#endif

#ifdef ATARI_ST
#  undef MSDOS   /* avoid the MS-DOS specific includes */
#endif

/* Use prototypes and ANSI libraries if _STDC__, or Microsoft or Borland C,
 * or Silicon Graphics, or IBM C Set/2, or GNU gcc under emx.
 */

#if (defined(__STDC__) || defined(MSDOS) || defined(sgi))
#  ifndef PROTO
#    define PROTO
#  endif /* !PROTO */
#  define MODERN
#endif /* MSDOS */

#if (defined(__IBMC__) || defined(__EMX__) || defined(ATARI_ST))
#  ifndef PROTO
#    define PROTO
#  endif /* !PROTO */
#  define MODERN
#endif


#ifdef __IBMC__
#  define S_IFMT 0xF000
#endif /* __IBMC__ */

#ifdef __EMX__
#  define __32BIT__
#endif /* __EMX__ */

#ifdef __WATCOMC__
#  define __32BIT__
#endif

#if (defined(__OS2__) && !defined(OS2))
#  define OS2
#endif

#ifdef __convexc__
#       define CONVEX
#endif /* __convexc__ */

/* Turn off prototypes if requested */
#if (defined(NOPROTO) && defined(PROTO))
#  undef PROTO
#endif


/* Used to remove arguments in function prototypes for non-ANSI C */
#ifdef PROTO
#  define OF(a) a
#else /* !PROTO */
#  define OF(a) ()
#endif /* ?PROTO */

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.