Prefer the 10.4u SDK for 32-bit if available
[striptease.git] / version.c
blob891ee0174325c9da00066d6ec319c1cc1e267cab
1 extern const char apple_version[];
2 #ifndef PROGRAMNAME
3 #define PROGRAMNAME striptease
4 #endif
5 #define STRINGIZE_PN2(x) #x
6 #define STRINGIZE_PN(x) STRINGIZE_PN2(x)
7 #if defined(__ppc64__)
8 #define ARCHNAME " (ppc64)"
9 #elif defined(__x86_64__)
10 #define ARCHNAME " (x86_64)"
11 #elif defined(__ppc__)
12 #define ARCHNAME " (ppc)"
13 #elif defined(__i386__)
14 #define ARCHNAME " (i386)"
15 #elif defined(__arm__)
16 #define ARCHNAME " (arm)"
17 #else
18 #define ARCHNAME
19 #endif
20 __attribute__((__used__)) const char apple_version[] =
21 /* Create a string that is compatible with the ident program */
22 "@(#)$PROGRAM: " STRINGIZE_PN(PROGRAMNAME) ARCHNAME
23 " PROJECT: cctools-822 <http://mackyle.github.com/striptease> $"