-
Notifications
You must be signed in to change notification settings - Fork 65
/
sqConfig.h
40 lines (31 loc) · 1.09 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
38
39
40
/* Unix sqConfig.h -- platform identification and configuration */
/* This file has been superseded by autoconf for Unix variants. */
#include "config.h"
#ifndef UNIX
# define UNIX
#endif
#if !defined(LSB_FIRST)
#error "LSB_FIRST is undefined. Used for setting platform endianesness!"
#endif
#if LSB_FIRST
# define VMBIGENDIAN 0
#else
# define VMBIGENDIAN 1
#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
/* Make the gcc/clang asm keyword available, even when running
* in standard C mode.
*/
#define asm __asm__