diff options
author | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-05-05 22:38:26 +0400 |
---|---|---|
committer | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-05-05 22:38:26 +0400 |
commit | 649e29ccd35e24257e552db7c7de4d375c4aee27 (patch) | |
tree | 99250f161b122fb5bb20c9ddb6e8a547b374544d | |
parent | 099b2017ccfa0fc7696f168db2a0c2e13fe5edbc (diff) | |
download | px4-nuttx-649e29ccd35e24257e552db7c7de4d375c4aee27.tar.gz px4-nuttx-649e29ccd35e24257e552db7c7de4d375c4aee27.tar.bz2 px4-nuttx-649e29ccd35e24257e552db7c7de4d375c4aee27.zip |
Fixed include guard in cstdio. Broken include guard was preventing cstdio to compile if cctype was included first (and vice versa); as a result, the code that needed both cctype and cstdio was failing to compile.
-rw-r--r-- | nuttx/include/cxx/cstdio | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/cxx/cstdio b/nuttx/include/cxx/cstdio index 6a9620e1a..11348065d 100644 --- a/nuttx/include/cxx/cstdio +++ b/nuttx/include/cxx/cstdio @@ -33,8 +33,8 @@ // //*************************************************************************** -#ifndef __INCLUDE_CXX_CCTYPE -#define __INCLUDE_CXX_CCTYPE +#ifndef __INCLUDE_CXX_CSTDIO +#define __INCLUDE_CXX_CSTDIO //*************************************************************************** // Included Files @@ -93,4 +93,4 @@ namespace std using ::statfs; } -#endif // __INCLUDE_CXX_CCTYPE +#endif // __INCLUDE_CXX_CSTDIO |