diff options
author | mvglasow <michael@vonglasow.com> | 2019-06-05 15:27:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 15:27:04 +0200 |
commit | d566f41d1e727f7972993ce15a5cbd469bae7c7b (patch) | |
tree | c0b707ee99905cd50bd54d88d2ce2f8ed2f89ce2 | |
parent | 9cf852006f009ac36ac079b0803898f910301817 (diff) | |
parent | af9ec707bac564af8c8c65d7f1f6847ced8d3f66 (diff) | |
download | navit-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.h | 6 |
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) |