/* * Standard C include files for Mathomatic. * Automatically includes all necessary C include files for * any Mathomatic C source code. * * Copyright (C) 1987-2009 George Gesslein II. */ #define true 1 #define false 0 #if HANDHELD #undef UNIX /* Don't include the extra Unix desktop features. */ #endif #if LIBRARY #define SILENT true /* Stop messages going to stdout. */ #undef READLINE /* Readline shouldn't be included in the library code. */ #endif #if CYGWIN #undef UNIX #elif __CYGWIN__ #warning Compiling under Cygwin without proper defines. #warning Please define CYGWIN on the compiler command line with -DCYGWIN #endif /* Include files from /usr/include: */ #include #include #include #if UNIX #include #endif #include #include #include #include #include #include #include #include #if I18N #include /* Mac OS X doesn't have libintl.h, so define "char *gettext();" then. */ #include #endif #if READLINE #include #include #endif /* Include files from the current directory: */ #include "am.h" /* the main include file for Mathomatic, contains tunable parameters */ #include "complex.h" /* floating point complex number arithmetic function prototypes */ #include "proto.h" /* global function prototypes made with cproto utility */ #include "altproto.h" /* backup global function prototypes */ #include "externs.h" /* global variable extern definitions */