-/* Copyright (c) 2004, 2005, 2007, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2004-2005, 2007, 2009-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include "xbt/dynar.h" /* void_f_pvoid_t */
#include "xbt/heap.h"
+#include <float.h>
typedef struct xbt_heap_item {
void *content;
#define KEY(H,i) ((H->items)[i]).key
#define CONTENT(H,i) ((H->items)[i]).content
-#define MIN_KEY_VALUE -10000
+#define MIN_KEY_VALUE -DBL_MAX
#endif /* _XBT_HEAP_PRIVATE_H */