Browse Source

AP_HAL_ChibiOS: Add a BUFSIZ value

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
8382d377bd
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/posix.h
  2. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/stdio.h

2
libraries/AP_HAL_ChibiOS/hwdef/common/posix.h

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

2
libraries/AP_HAL_ChibiOS/hwdef/common/stdio.h

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

Loading…
Cancel
Save