-
Notifications
You must be signed in to change notification settings - Fork 71
/
sqConfig.h
37 lines (31 loc) · 1.08 KB
/
sqConfig.h
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
/* sqConfig.h -- platform identification and configuration */
#if defined(TARGET_API_MAC_CARBON)
/* For Apple's OS X versions of darwin */
# include <MacTypes.h>
#endif
#define macintoshSqueak 1
# if defined(SQ_CONFIG_DONE)
# error configuration conflict
# endif
# define SQ_CONFIG_DONE
#if !defined(SQ_CONFIG_DONE)
# error test for, and describe, your architecture here.
#endif
#if defined(__BIG_ENDIAN__)
# define VMBIGENDIAN 1
#else
# define VMBIGENDIAN 0
#endif
#if defined(__GNUC__)
/* Define the "don't generate functions with register parameters" attribute
* for x86 and similar. Do so for debugging; gdb typically can't call static
* functions that have been optimized to use register arguments.
*/
# if defined(_M_I386) || defined(_X86_) || defined(i386) || defined(i486) || defined(i586) || defined(i686) || defined(__i386__) || defined(__386__) || defined(X86) || defined(I386)
# define PlatformNoDbgRegParms __attribute__ ((regparm (0)))
# endif
# define NeverInline __attribute__ ((noinline))
#endif
#if defined( __clang__)
# define NeverInline __attribute__ ((noinline))
#endif