summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael@vonglasow.com>2019-06-05 15:27:04 +0200
committerGitHub <noreply@github.com>2019-06-05 15:27:04 +0200
commitd566f41d1e727f7972993ce15a5cbd469bae7c7b (patch)
treec0b707ee99905cd50bd54d88d2ce2f8ed2f89ce2
parent9cf852006f009ac36ac079b0803898f910301817 (diff)
parentaf9ec707bac564af8c8c65d7f1f6847ced8d3f66 (diff)
downloadnavit-d566f41d1e727f7972993ce15a5cbd469bae7c7b.tar.gz
Merge pull request #778 from navit-gps/attr_def_fix_for_ide
Fix:core:Fix Warning in IDE for Items not found
-rw-r--r--navit/attr_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/attr_def.h b/navit/attr_def.h
index 2b51f11eb..4d859d1fa 100644
--- a/navit/attr_def.h
+++ b/navit/attr_def.h
@@ -29,6 +29,12 @@
/* prototypes */
/* common */
+#ifndef ATTR
+#define ATTR(x) extern ##x;
+#endif
+#ifndef ATTR2
+#define ATTR2(x,y) extern ##y;
+#endif
ATTR2(0x00000000,none)
ATTR(any)
ATTR(any_xml)