mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Move include/nuttx/float.h to include/nuttx/lib/float.h
This commit is contained in:
+2
-2
@@ -221,8 +221,8 @@ endif
|
|||||||
# the settings in this float.h are actually correct for your platform!
|
# the settings in this float.h are actually correct for your platform!
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_FLOAT_H),y)
|
ifeq ($(CONFIG_ARCH_FLOAT_H),y)
|
||||||
include/float.h: include/nuttx/float.h
|
include/float.h: include/nuttx/lib/float.h
|
||||||
$(Q) cp -f include/nuttx/float.h include/float.h
|
$(Q) cp -f include/nuttx/lib/float.h include/float.h
|
||||||
else
|
else
|
||||||
include/float.h:
|
include/float.h:
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* include/nuttx/float.h
|
* include/nuttx/lib/float.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Reference: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/float.h.html
|
* Reference: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/float.h.html
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_NUTTX_FLOAT_H
|
#ifndef __INCLUDE_NUTTX_LIB_FLOAT_H
|
||||||
#define __INCLUDE_NUTTX_FLOAT_H
|
#define __INCLUDE_NUTTX_LIB_FLOAT_H
|
||||||
|
|
||||||
/* TODO: These values could vary with architectures toolchains. This
|
/* TODO: These values could vary with architectures toolchains. This
|
||||||
* logic should be move at least to the include/arch directory.
|
* logic should be move at least to the include/arch directory.
|
||||||
@@ -222,4 +222,4 @@
|
|||||||
# define LDBL_MIN DBL_MIN
|
# define LDBL_MIN DBL_MIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __INCLUDE_NUTTX_FLOAT_H */
|
#endif /* __INCLUDE_NUTTX_LIB_FLOAT_H */
|
||||||
Reference in New Issue
Block a user