mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-15 09:20:23 -07:00
Make __ecl_inf and __ecl_nan static to prevent link-time conflicts
while building with Microsoft Visual Studio 2010.
This commit is contained in:
parent
11e35ea5b9
commit
68962f1455
1 changed files with 2 additions and 2 deletions
|
|
@ -598,7 +598,7 @@ extern cl_object si_wait_for_all_processes _ECL_ARGS((cl_narg narg, ...));
|
|||
|
||||
#ifndef INFINITY
|
||||
# if _MSC_VER == 1600
|
||||
union {
|
||||
static union {
|
||||
uint8_t bytes [ sizeof ( float ) ];
|
||||
float inf;
|
||||
} __ecl_inf = {
|
||||
|
|
@ -612,7 +612,7 @@ union {
|
|||
|
||||
#ifndef NAN
|
||||
# if _MSC_VER == 1600
|
||||
union {
|
||||
static union {
|
||||
uint8_t bytes [ sizeof ( float ) ];
|
||||
float nan;
|
||||
} __ecl_nan = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue