nuttx/tools: Fixes for some Windows native build issues from Max Holtzberg
This commit is contained in:
parent
84596e8473
commit
b9a38cea22
@ -6358,4 +6358,6 @@
|
|||||||
yet work (2014-1-1).
|
yet work (2014-1-1).
|
||||||
* arch/arm/src/stm32/stm32_serial.c: Single-wire UART support from
|
* arch/arm/src/stm32/stm32_serial.c: Single-wire UART support from
|
||||||
Thomas Grubler (2014-1-2).
|
Thomas Grubler (2014-1-2).
|
||||||
|
* tools/configure.c and mkdeps.c: Fixes for Windows build issues
|
||||||
|
from Max Holtzberg (2014-1-4).
|
||||||
|
|
||||||
|
@ -58,6 +58,10 @@
|
|||||||
|
|
||||||
#define BUFFER_SIZE 1024
|
#define BUFFER_SIZE 1024
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
# define strndup(x, y) strdup(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -54,6 +54,10 @@
|
|||||||
|
|
||||||
#define MAX_BUFFER (4096)
|
#define MAX_BUFFER (4096)
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
# define NAME_MAX FILENAME_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user