-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathSystem.h
More file actions
executable file
·90 lines (72 loc) · 2.18 KB
/
System.h
File metadata and controls
executable file
·90 lines (72 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//
// IKAROS_System.h Definition of the target system for which to compile
//
// Copyright (C) 2001-2019 Christian Balkenius
//
// PLACEHOLDER FILE - NOT UPDATED FOR IKAROS-3
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.ikaros-project.org/ for more information.
//
// Created: August 22, 2002
//
//
// Alternatively, the appropriate #define below can be uncommented
//
//#define MAC_OS_X
//#define LINUX
//
// IKAROSPATH is the path to the Ikaros root directory relative to the Ikaros binary
// OR the absolute path to the Ikaros root directory. A relative path is useful when
// Ikaros is run from within an IDE. An absolut path MUST be set if the full path
// is not used when starting Ikaros. This is the case when the search path for
// executable files includes the directory with the Ikaros binary.
//
// An absolute path can be set using a compiler flag, for example:
// -DIKAROSPATH="\"/home/me/Ikaros.1.3/\""
//
#ifndef IKAROSPATH
#define IKAROSPATH "../"
#endif
//
// Linux Defines
//
#ifdef LINUX
#define PLATFORM "LINUX"
#define POSIX
#define USE_BSD_SOCKET
#define USE_BLAS
#define USE_LIBPNG
#endif
//
// Mac OS X Defines
//
#ifdef MAC_OS_X
#define PLATFORM "MAC OS X"
#define POSIX
#define USE_BSD_SOCKET
#define USE_QUICKTIME
#define USE_LIBPNG
#define USE_VIMAGE
#define USE_VFORCE
#define USE_BLAS
#define USE_LAPACK
#define USE_MPI
#endif
// Fix for missing MSG_NOSIGNAL in OS X to pass compilation
#ifdef MAC_OS_X
#define MSG_NOSIGNAL 0
#endif