Remove #define loop from util.h

Replace the loop macro with while (true). The #define caused
problems for Qt.
This commit is contained in:
Gavin Andresen
2013-07-31 14:06:44 +10:00
parent c4316fefa5
commit 050d2e953f
13 changed files with 17 additions and 23 deletions

View File

@@ -35,7 +35,6 @@ typedef unsigned long long uint64;
static const int64 COIN = 100000000;
static const int64 CENT = 1000000;
#define loop for (;;)
#define BEGIN(a) ((char*)&(a))
#define END(a) ((char*)&((&(a))[1]))
#define UBEGIN(a) ((unsigned char*)&(a))