mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-02-27 17:20:31 -08:00
We need to add explicitely a declaration of GC_CreateThread, because the one in gc.h is only suitable for applications that are linked against the dll
This commit is contained in:
parent
a7fc0733f7
commit
2a2bebb334
1 changed files with 13 additions and 2 deletions
|
|
@ -16,8 +16,19 @@
|
|||
*/
|
||||
|
||||
#include <signal.h>
|
||||
#include "ecl.h"
|
||||
#include "internal.h"
|
||||
#include <ecl/ecl.h>
|
||||
#include <ecl/internal.h>
|
||||
|
||||
/*
|
||||
* We have to put this explicit definition here because Boehm GC
|
||||
* is designed to produce a DLL and we rather want a static
|
||||
* reference
|
||||
*/
|
||||
#include <gc.h>
|
||||
extern HANDLE WINAPI GC_CreateThread(
|
||||
LPSECURITY_ATTRIBUTES lpThreadAttributes,
|
||||
DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress,
|
||||
LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId );
|
||||
|
||||
#ifndef WITH___THREAD
|
||||
DWORD cl_env_key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue