aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/zexy.h b/src/zexy.h
index 3348a0e..b3b8c72 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -70,7 +70,11 @@
#endif
#ifndef HEARTSYMBOL
-# define HEARTSYMBOL 64
+# if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION >= 43)
+# define HEARTSYMBOL "♡"
+# else
+# define HEARTSYMBOL "@"
+# endif
#endif
#include <math.h>