mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 17:39:00 +08:00
Eliminating GCC dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
* Included Files
|
||||
************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <arch/types.h>
|
||||
|
||||
/************************************************************
|
||||
@@ -110,6 +111,12 @@
|
||||
* Type Declarations
|
||||
************************************************************/
|
||||
|
||||
#ifndef CONFIG_HAVE_DOUBLE
|
||||
typedef float double_t;
|
||||
#else
|
||||
typedef double double_t;
|
||||
#endif
|
||||
|
||||
/* Misc. scalar types */
|
||||
|
||||
typedef uint32 mode_t;
|
||||
|
||||
Reference in New Issue
Block a user