add profile codes for multicore version
[IRC.git] / Robust / src / Runtime / Queue.h
index 07260fb44e740f91cb19f3f4617fdbf1c8434c57..01253409bd66c80b531ba87922000f283a428587 100644 (file)
@@ -13,7 +13,7 @@ struct QueueItem {
   struct QueueItem * prev;
 };
 
-#define isEmpty(x) (x->head==NULL)
+#define isEmpty(x) ((x)->head==NULL)
 
 void * getItem(struct Queue * queue);
 void freeQueue(struct Queue * q);