nuttx/tools: Fixes for some Windows native build issues from Max Holtzberg

This commit is contained in:
Gregory Nutt 2014-01-04 09:08:14 -06:00
parent 84596e8473
commit b9a38cea22
3 changed files with 22 additions and 12 deletions

View file

@ -6358,4 +6358,6 @@
yet work (2014-1-1).
* arch/arm/src/stm32/stm32_serial.c: Single-wire UART support from
Thomas Grubler (2014-1-2).
* tools/configure.c and mkdeps.c: Fixes for Windows build issues
from Max Holtzberg (2014-1-4).

View file

@ -58,6 +58,10 @@
#define BUFFER_SIZE 1024
#ifdef WIN32
# define strndup(x, y) strdup(x)
#endif
/****************************************************************************
* Private Data
****************************************************************************/

View file

@ -54,6 +54,10 @@
#define MAX_BUFFER (4096)
#ifdef WIN32
# define NAME_MAX FILENAME_MAX
#endif
/****************************************************************************
* Private Types
****************************************************************************/