Remove nested functions from disk and file read hooks.
[grub.git] / config.h.in
1 #undef _LARGEFILE_SOURCE
2 #undef _FILE_OFFSET_BITS
3 #define _LARGEFILE_SOURCE
4 #define _FILE_OFFSET_BITS 64
5 #if defined(__PPC__) && !defined(__powerpc__)
6 #define __powerpc__ 1
7 #endif
8
9 /* Define to 1 to enable disk cache statistics.  */
10 #define DISK_CACHE_STATS @DISK_CACHE_STATS@
11
12 #if defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
13 #include <config-util.h>
14 #define NESTED_FUNC_ATTR
15 #else
16 /* Define if C symbols get an underscore after compilation. */
17 #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
18 /* Define it to \"addr32\" or \"addr32;\" to make GAS happy.  */
19 #define ADDR32 @ADDR32@
20 /* Define it to \"data32\" or \"data32;\" to make GAS happy. */
21 #define DATA32 @DATA32@
22 /* Define it to one of __bss_start, edata and _edata.  */
23 #define BSS_START_SYMBOL @BSS_START_SYMBOL@
24 /* Define it to either end or _end.  */
25 #define END_SYMBOL @END_SYMBOL@
26 /* Name of package.  */
27 #define PACKAGE "@PACKAGE@"
28 /* Version number of package.  */
29 #define VERSION "@VERSION@"
30 /* Define to the full name and version of this package. */
31 #define PACKAGE_STRING "@PACKAGE_STRING@"
32 /* Define to the version of this package. */
33 #define PACKAGE_VERSION "@PACKAGE_VERSION@"
34 /* Define to the full name of this package. */
35 #define PACKAGE_NAME "@PACKAGE_NAME@"
36 /* Define to the address where bug reports for this package should be sent. */
37 #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
38 /* Default boot directory name" */
39 #define GRUB_BOOT_DIR_NAME "@bootdirname@"
40 /* Default grub directory name */
41 #define GRUB_DIR_NAME "@grubdirname@"
42 /* Define to 1 if GCC generates calls to __enable_execute_stack().  */
43 #define NEED_ENABLE_EXECUTE_STACK @NEED_ENABLE_EXECUTE_STACK@
44 /* Define to 1 if GCC generates calls to __register_frame_info().  */
45 #define NEED_REGISTER_FRAME_INFO @NEED_REGISTER_FRAME_INFO@
46
47 #define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
48 #define GRUB_PLATFORM "@GRUB_PLATFORM@"
49
50 #define RE_ENABLE_I18N 1
51
52 #if defined(__i386__)
53 #define NESTED_FUNC_ATTR __attribute__ ((__regparm__ (1)))
54 #else
55 #define NESTED_FUNC_ATTR
56 #endif
57
58 #endif