summaryrefslogtreecommitdiff
path: root/dev-scheme/stklos/files/stklos-2.00-threads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/stklos/files/stklos-2.00-threads.patch')
-rw-r--r--dev-scheme/stklos/files/stklos-2.00-threads.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-scheme/stklos/files/stklos-2.00-threads.patch b/dev-scheme/stklos/files/stklos-2.00-threads.patch
new file mode 100644
index 000000000000..0a32bc5de7d8
--- /dev/null
+++ b/dev-scheme/stklos/files/stklos-2.00-threads.patch
@@ -0,0 +1,22 @@
+--- a/src/stklos.h
++++ b/src/stklos.h
+@@ -46,15 +46,15 @@
+ #include <memory.h>
+ #include <locale.h>
+ #include <stdint.h>
+-#ifndef THEADS_NONE
++
++#include "stklosconf.h"
++#include "extraconf.h"
++#ifndef THREADS_NONE
+ # include <pthread.h>
+ # define GC_THREADS 1
+ # define _REENTRANT 1
+ #endif
+
+-#include "stklosconf.h"
+-#include "extraconf.h"
+-
+ /* To debug the GC uncomment the following line */
+ /* #define GC_DEBUG 1 */
+