mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix libk being built with -mmmx, -msse and -msse2 on x86_64.
This commit is contained in:
parent
68d379c605
commit
534eb3ddd8
5 changed files with 10 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2013.
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014.
|
||||
|
||||
This file is part of the Sortix C Library.
|
||||
|
||||
|
|
@ -24,7 +24,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined(__is_sortix_kernel)
|
||||
extern "C" double atof(const char* str)
|
||||
{
|
||||
return strtod(str, NULL);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue