spielwiese
Last change
on this file since ce6598 was
ce6598,
checked in by Hans Schönemann <hannes@…>, 7 years ago
|
better constants for __cplusplus (clang3.7, gcc5.1)
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /******************************************************************* |
---|
2 | * File: omalloc.h |
---|
3 | * Purpose: declaration of public routines for omalloc |
---|
4 | * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) |
---|
5 | * Created: 11/99 |
---|
6 | *******************************************************************/ |
---|
7 | #ifndef OM_ALLOC_H |
---|
8 | #define OM_ALLOC_H |
---|
9 | |
---|
10 | #include <stdlib.h> |
---|
11 | #include <stdio.h> |
---|
12 | #include <string.h> |
---|
13 | |
---|
14 | #ifdef __cplusplus |
---|
15 | extern "C" { |
---|
16 | #if __cplusplus >= 201402L |
---|
17 | /* clang 3.7, gcc 5.1 sets 201402L */ |
---|
18 | #define REGISTER |
---|
19 | #else |
---|
20 | #define REGISTER register |
---|
21 | #endif |
---|
22 | #else |
---|
23 | #define REGISTER register |
---|
24 | #endif |
---|
25 | |
---|
26 | #include "omalloc/omConfig.h" |
---|
27 | |
---|
28 | #if defined(OM_NDEBUG) && !defined(OM_ALLOC_INTERNAL) |
---|
29 | #if (SIZEOF_LONG == 8) |
---|
30 | #define OM_T_FREE1 |
---|
31 | #define OM_T_FREE3 |
---|
32 | #define OM_T_STR |
---|
33 | #define OM_T_ALLOC |
---|
34 | #define OM_T_REALLOC |
---|
35 | #endif |
---|
36 | #endif |
---|
37 | |
---|
38 | #include "omDerivedConfig.h" |
---|
39 | #include "omError.h" |
---|
40 | #include "omStructs.h" |
---|
41 | #include "omAllocDecl.h" |
---|
42 | #include "omInlineDecl.h" |
---|
43 | #include "omBin.h" |
---|
44 | #include "omMemOps.h" |
---|
45 | #include "omList.h" |
---|
46 | #include "omGetBackTrace.h" |
---|
47 | #include "omRet2Info.h" |
---|
48 | #include "omStats.h" |
---|
49 | #include "omOpts.h" |
---|
50 | #include "omBinPage.h" |
---|
51 | #include "omAllocSystem.h" |
---|
52 | #include <omalloc/omTables.h> |
---|
53 | #include "omAllocPrivate.h" |
---|
54 | #include "omDebug.h" |
---|
55 | #include "omInline.h" |
---|
56 | #include "omAllocFunc.h" |
---|
57 | |
---|
58 | #ifdef __cplusplus |
---|
59 | } |
---|
60 | #endif |
---|
61 | |
---|
62 | #endif /* OM_ALLOC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.