aboutsummaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 6a142f7..7030e4b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -17,4 +17,6 @@
# include <stdio.h>
#endif
+#define MPQ_IS_INIT(x) (mpq_denref(x)->_mp_d != NULL)
+
#endif /* !ORYX_COMMON_H */