aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-07-31 14:06:44 +1000
committerGavin Andresen <gavinandresen@gmail.com>2013-07-31 14:06:44 +1000
commit050d2e953f23db6d818b9cec6b7dc0e52aa7537c (patch)
tree2647f444088b18845088a5fac3a6fdabe656eeba /src/util.h
parentc4316fefa5f56d62eeceb710ee18313bd9be1128 (diff)
downloadbitcoin-050d2e953f23db6d818b9cec6b7dc0e52aa7537c.tar.xz
Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused problems for Qt.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index bee2749c16..9ca73f3311 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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))