summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael@vonglasow.com>2019-06-05 15:28:02 +0200
committerGitHub <noreply@github.com>2019-06-05 15:28:02 +0200
commitd2f35122087ed0c730cb65e472528f174fa09083 (patch)
tree7a0ebdf981b26b7adc06093610fab5ab4a7258be
parentd566f41d1e727f7972993ce15a5cbd469bae7c7b (diff)
parent9bf81632555968d46c18aec324488a7377e82267 (diff)
downloadnavit-d2f35122087ed0c730cb65e472528f174fa09083.tar.gz
Merge pull request #771 from navit-gps/ide_fix_for_not_found
Fix:core:Fix item_def.h when used whithout defined macros (like in IDE)
-rw-r--r--navit/item_def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/item_def.h b/navit/item_def.h
index 231891d12..aedf1b536 100644
--- a/navit/item_def.h
+++ b/navit/item_def.h
@@ -18,6 +18,13 @@
*/
/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */
+#ifndef ITEM
+#define ITEM(x) extern ##x;
+#endif
+#ifndef ITEM2
+#define ITEM2(x,y) extern ##y;
+#endif
+
ITEM2(0x00000000,none)
ITEM2(0x00000001,point_unspecified)
ITEM(town_streets)