Commit c687f50d authored by johnvg@science.ru.nl's avatar johnvg@science.ru.nl

remove old backend code for the mac

parent 4a4a6581
/*******************************************************************************
* MAC Dependencies *
******************************************************************************/
typedef short TwoBytesInt;
typedef int FourBytesInt;
typedef unsigned short TwoBytesUnsigned;
typedef unsigned int FourBytesUnsigned;
typedef double EightBytesReal;
typedef float FourBytesReal;
#define SizeT unsigned long
#define SizeOf(A) ((SizeT) sizeof (A))
#include <limits.h>
#define MAXUNSIGNED ULONG_MAX
#define _VARARGS_
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <setjmp.h>
#include <stdarg.h>
typedef FILE *File;
void GetInitialPathList (void);
void FreePathList (void);
#define StdOut stdout
#if defined (__MWERKS__) || defined (__MRC__)
#define StdError stderr
#else
#define StdError stdout
#endif
#define FGetC(f) fgetc(f)
#define FGetS(s,n,f) fgets(s,n,f)
#define FPutC(c,f) fputc(c,f)
This diff is collapsed.
/*******************************************************************************
* *
* Mac User Interface Dependencies *
* *
******************************************************************************/
extern int MACUSERVAR;
#define CheckVersion if (MACUSERVAR != VERSION) DoFatalError ("Wrong version number")
typedef int TwoBytesInt;
typedef long int FourBytesInt;
typedef unsigned TwoBytesUnsigned;
typedef unsigned long FourBytesUnsigned;
#ifdef applec
typedef double EightBytesReal;
#else
typedef short double EightBytesReal;
#endif
typedef float FourBytesReal;
#define SizeT unsigned long
#define SizeOf(A) ((SizeT) sizeof (A))
#include <limits.h>
#define MAXUNSIGNED ULONG_MAX
/*
#define _SCREENFileS_
*/
#define _CURMOV_
#define _VARARGS_
#include <string.h>
#include <stdlib.h>
#ifdef applec
# include <stdio.h>
#else
# include <unix.h>
#endif
#include <setjmp.h>
#include <stdarg.h>
/*
this type is not provided by LightSpeed C
typedef unsigned long time_t;
*/
typedef FILE *File;
# define FClose fclose
# define FPrintF fprintf
# define FPutC fputc
# define FPutS fputs
# define FGetC fgetc
# define FGetS fgets
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment