summaryrefslogtreecommitdiff
path: root/audio/glame/files/patch-src_glmid_glscript.h
blob: 222a404ace69422dddcceb048ccab855728ba4a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/glmid/glscript.h.orig	2004-10-23 13:09:23 UTC
+++ src/glmid/glscript.h
@@ -32,6 +32,12 @@
 #include "gpsm.h"
 #include "swapfile.h"
 
+/* Check if we have guile of at least version 1.8 */
+#undef HAVE_GUILE18
+#if SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION >= 8
+#define HAVE_GUILE18 1
+#endif
+
 
 /* Initializes the guile scripting subsystem. Returns 0 on success,
  * -1 on error. */