mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 17:27:33 +02:00
Merge pull request #528 from yorickhardy/master
Define *ai-v4mapped* to zero on platforms where AI_V4MAPPED is undefined
This commit is contained in:
commit
706f7ef2a8
1 changed files with 2 additions and 2 deletions
|
@ -388,7 +388,7 @@
|
||||||
#ifdef AI_V4MAPPED
|
#ifdef AI_V4MAPPED
|
||||||
return_closcall1(data, k, obj_int2obj(AI_V4MAPPED));
|
return_closcall1(data, k, obj_int2obj(AI_V4MAPPED));
|
||||||
#else
|
#else
|
||||||
Cyc_rt_raise_msg(data, \"AI_V4MAPPED is not available on this platform\");
|
return_closcall1(data, k, obj_int2obj(0));
|
||||||
#endif
|
#endif
|
||||||
")
|
")
|
||||||
(define *ai-all* (ai-all))
|
(define *ai-all* (ai-all))
|
||||||
|
@ -398,7 +398,7 @@
|
||||||
#ifdef AI_ALL
|
#ifdef AI_ALL
|
||||||
return_closcall1(data, k, obj_int2obj(AI_ALL));
|
return_closcall1(data, k, obj_int2obj(AI_ALL));
|
||||||
#else
|
#else
|
||||||
Cyc_rt_raise_msg(data, \"AI_ALL is not available on this platform\");
|
return_closcall1(data, k, obj_int2obj(0));
|
||||||
#endif
|
#endif
|
||||||
")
|
")
|
||||||
(make-const ai-addrconfig "AI_ADDRCONFIG" )
|
(make-const ai-addrconfig "AI_ADDRCONFIG" )
|
||||||
|
|
Loading…
Add table
Reference in a new issue