X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fadt%2Fhashset.h;h=2d95a36072ef858bb579d432f262bc438a4b6948;hb=cdcd17c48e951c6e0201c58b94aaf52a8769703c;hp=a03a810270fe83a2380b2644b35322b032b1d7f9;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/include/libfirm/adt/hashset.h b/include/libfirm/adt/hashset.h index a03a81027..2d95a3607 100644 --- a/include/libfirm/adt/hashset.h +++ b/include/libfirm/adt/hashset.h @@ -22,7 +22,6 @@ * @date 16.03.2007 * @brief Generic hashset functions * @author Matthias Braun - * @version $Id$ * * You have to specialize this header by defining HashSet, HashSetIterator and * ValueType @@ -56,6 +55,7 @@ struct HashSet { #endif }; +#ifndef NO_ITERATOR struct HashSetIterator { HashSetEntry *current_bucket; HashSetEntry *end; @@ -64,6 +64,7 @@ struct HashSetIterator { unsigned entries_version; #endif }; +#endif #ifdef DO_REHASH #undef HashSetEntry