|
CORSIKA add-on package IACT/ATMO:
Version 1.70 (August 2025)
|
Indentification of the system and including some basic include file. More...
#include <string.h>#include <stdio.h>#include <math.h>#include <time.h>#include <stdlib.h>#include <sys/types.h>

Go to the source code of this file.
This file identifies a range of supported operating systems and processor types. As a result, some preprocessor definitions are made. A basic set of system include files (which may vary from one system to another) are included. In addition, compatibility between different systems is improved, for example between K&R compiler systems and ANSI C compilers of various flavours.
Identification of the host operating system (not CPU):
Supported identifiers are
OS_MSDOS
OS_VAXVMS
OS_UNIX
+ variant identifiers like
OS_ULTRIX, OS_LYNX, OS_LINUX, OS_DECUNIX, OS_AIX, OS_HPUX,
OS_DARWIN (Mac OS X).
Note: ULTRIX may be on VAX or MIPS, LINUX on Intel or Alpha,
OS_LYNX on 68K or PowerPC.
OS_OS9
You might first reset all identifiers here.
Then set one or more identifiers according to the system.
Identification of the CPU architecture:
Supported CPU identifiers are
CPU_I86
CPU_X86_64
CPU_VAX
CPU_MIPS
CPU_ALPHA
CPU_68K
CPU_RS6000
CPU_PowerPC
CPU_HPPA