diff options
author | OLFDB <olf@eisenzelt.de> | 2023-03-07 13:41:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 13:41:29 +0100 |
commit | d85f71ecf4c48baf428da17697b43f2a11129db1 (patch) | |
tree | be33d03f7fa92d455500b16d4b389fb95ff2c188 /navit/item_type_def.h | |
parent | 2ac4a843483735f8fd4e932fcab536a0aa46be5d (diff) | |
download | navit-trunk.tar.gz |
* Initial commit
* Fix:#1185
* Fix:#1185
* Update after further tests
* Update navit.c
Missing opening bracket.
* Update navit.c
Needs AND not OR when combining if clauses.
* Revert "Fix:#1185"
This reverts commit fd91e400dfc5bfa83ee4565c2ab9e222188eee77.
* Revert "Fix:#1185"
This reverts commit be87cd30a0b153158bc68b3eb83601aadeda322c.
* Fix: Warning during build
* WINCE compiler needs pragma to be outside of a function
Diffstat (limited to 'navit/item_type_def.h')
-rw-r--r-- | navit/item_type_def.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/navit/item_type_def.h b/navit/item_type_def.h new file mode 100644 index 000000000..cecad21cb --- /dev/null +++ b/navit/item_type_def.h @@ -0,0 +1,22 @@ +#ifndef NAVIT_ITEM_TYPE_DEFH +#define NAVIT_ITEM_TYPE_DEFH + +#ifdef __cplusplus +extern "C" { +#endif + +enum item_type { +#define ITEM2(x,y) type_##y=x, +#define ITEM(x) type_##x, +#include "item_def.h" +#undef ITEM2 +#undef ITEM +}; + +#ifdef __cplusplus +} +/* __cplusplus */ +#endif + +/* NAVIT_ITEM_TYPE_DEFH */ +#endif |