rewrite: update default dumb and smart prefixes
[elinks/elinks-j605.git] / src / elinks.h
blob6cdcffb0e741955415a9882117f9d51f713bb0c7
1 /* Global include with common functions and definitions for ELinks */
3 #ifndef EL__ELINKS_H
4 #define EL__ELINKS_H
6 #ifndef __EXTENSION__
7 #define __EXTENSION__ /* Helper for SunOS */
8 #endif
10 /* Gives us uint{32,16}_t and longlong and integer limits. */
11 #include "osdep/types.h"
13 /* This determines the system type and loads system-specific macros and
14 * symbolic constants. The other includes may reuse this. This should be
15 * always the very first ELinks include a source should include (except
16 * config.h, of course). */
17 #include "osdep/system.h"
19 /* This introduces some generic ensurements that various things are how
20 * they are supposed to be. */
21 #include "osdep/generic.h"
23 /* This loads hard-configured settings - which are too lowlevel to configure at
24 * the runtime but are too unlikely to be changed to be configured through
25 * config.h. */
26 #include "setup.h"
28 #ifdef CONFIG_DEBUG
29 #define DEBUG_MEMLEAK
30 #endif
32 /* This maybe overrides some of the standard high-level functions, to ensure
33 * the expected behaviour. These overrides are not system specific. */
34 #include "osdep/stub.h"
36 /* util/math.h is supposed to be around all the time. */
37 #include "util/math.h"
40 #endif