mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
842a51c760
commit
b687ace2b1
4 changed files with 18 additions and 6 deletions
|
|
@ -309,8 +309,12 @@ static void winsock_init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GC
|
||||
#include <gc/gc.h>
|
||||
#if defined (HAVE_GC_H) || defined (HAVE_GC_GC_H)
|
||||
#ifdef HAVE_GC_H
|
||||
# include <gc.h>
|
||||
#else
|
||||
# include <gc/gc.h>
|
||||
#endif
|
||||
GMemVTable gc_mem_table = {
|
||||
GC_malloc,
|
||||
GC_realloc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue