internal/build:compile with c mode,when c file
This commit is contained in:
@@ -6,8 +6,6 @@ typedef union
|
||||
long long ll;
|
||||
} castUnion;
|
||||
|
||||
extern "C" {
|
||||
|
||||
double llgoToFloat64(long long v)
|
||||
{
|
||||
castUnion k;
|
||||
@@ -35,5 +33,3 @@ int llgoFromFloat32(float v)
|
||||
k.f = v;
|
||||
return k.v;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user