summaryrefslogtreecommitdiff
path: root/h/aconfig.h
blob: 50275ea767dc5ed30b5c2dff3f955206ab35cc22 (plain)
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

#ifndef __CONFIG_H__
#define __CONFIG_H__

/* General project wide configuration */

/* Version of Argyll release */
/* Bug fix = 4 bits */
/* minor number = 8 bits */
/* major number = 8 bits */

#define ARGYLL_VERSION 0x01083
#define ARGYLL_VERSION_STR "1.8.3"

#if defined(NT)
# if defined(_WIN64)
#  define ARGYLL_BUILD_STR "MSWin 64 bit" 
# else
#  define ARGYLL_BUILD_STR "MSWin 32 bit" 
# endif
#endif
#if defined(UNIX)
# if defined(__APPLE__)
#  if defined(__LP64__)
#   define ARGYLL_BUILD_STR "OS X 64 bit" 
#  else
#   define ARGYLL_BUILD_STR "OS X 32 bit" 
#  endif
# else
#  if defined(__LP64__)
#   define ARGYLL_BUILD_STR "Linux 64 bit" 
#  else
#   define ARGYLL_BUILD_STR "Linux 32 bit" 
#  endif
# endif
#endif

/* Maximum file path length */
#define MAXNAMEL 1024

/* A simpler #define to remove __APPLE__ from non OS X code */
#if defined(UNIX) && !defined(__APPLE__)
# define UNIX_X11       /* Unix like using X11 */
#else
# undef UNIX_X11
#endif

#if defined(UNIX) && !defined(__APPLE__)
#define USE_UCMM		/* Enable the Unix micro CMM */
#endif

#endif /* __CONFIG_H__ */