AP_HAL_ChibiOS: Add a BUFSIZ value

This commit is contained in:
Michael du Breuil 2018-10-03 13:05:43 -07:00 committed by Andrew Tridgell
parent e421599e4f
commit 8382d377bd
2 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MAXLN 128 #define MAXLN 128
#define ISSPACE " \t\n\r\f\v" #define ISSPACE " \t\n\r\f\v"
#define BUFSIZ 256
///@brief make sure we use our strerror_r function ///@brief make sure we use our strerror_r function
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -45,6 +45,8 @@ void free(void *ptr);
extern int (*vprintf_console_hook)(const char *fmt, va_list arg); extern int (*vprintf_console_hook)(const char *fmt, va_list arg);
#define L_tmpnam 32
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif