forked from Smorodov/Multitarget-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgdefs.h
More file actions
38 lines (29 loc) · 816 Bytes
/
gdefs.h
File metadata and controls
38 lines (29 loc) · 816 Bytes
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
#ifndef GDEFH
#define GDEFH
// Determine which platform we are building for
#if __BORLANDC__ // Borland specific options
#define GPORT_WINDOWS 1 // Windows
#define GPORT_MAC 0
#endif
#ifdef __MWERKS__ // Metrowerks specific options
#ifdef __INTEL__
#define GPORT_WINDOWS 1 // Windows
#define GPORT_MAC 0
#define __WIN32__ // MetroWerks only supports Win32
#endif /* __INTEL__ */
#ifdef macintosh // MacOS
#ifdef __WXMAC__
#define USE_WXWINDOWS 1 // wxWindows
#define GPORT_MAC 0
#define GPORT_WINDOWS 0
#else
#define GPORT_MAC 1 // Macintosh
#define GPORT_WINDOWS 0
#endif
#endif /* macintosh */
#endif
#ifdef __GNUC__
#define GPORT_MAC 0 // Assume gcc implies X windows
#define GPORT_WINDOWS 0
#endif
#endif