summaryrefslogtreecommitdiff
path: root/nuttx/include/math.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-12 18:07:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-12 18:07:05 +0000
commitba570ed8d8fdc4e110a0f6df0f38b322f97b6b0f (patch)
tree62079f698248e7265c9d6f7cc59719e76a327326 /nuttx/include/math.h
parent9e52f60313290f0b6e17551e825094c117909690 (diff)
downloadnuttx-ba570ed8d8fdc4e110a0f6df0f38b322f97b6b0f.tar.gz
nuttx-ba570ed8d8fdc4e110a0f6df0f38b322f97b6b0f.tar.bz2
nuttx-ba570ed8d8fdc4e110a0f6df0f38b322f97b6b0f.zip
Modify standard header files to work with RGMP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3596 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/math.h')
-rwxr-xr-xnuttx/include/math.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/include/math.h b/nuttx/include/math.h
index 1aa9ce37e..c14220146 100755
--- a/nuttx/include/math.h
+++ b/nuttx/include/math.h
@@ -40,6 +40,12 @@
* Included Files
****************************************************************************/
+#include <nuttx/config.h>
+
+#ifdef CONFIG_ARCH_MATH_H
+# include <arch/math.h>
+#else
+
/****************************************************************************
* Type Definitions
****************************************************************************/
@@ -60,4 +66,5 @@ extern "C" {
}
#endif
+#endif /* CONFIG_ARCH_MATH_H */
#endif /* __INCLUDE_MATH_H */