mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 18:37:46 +08:00
tools/configure.sh: Another fix for the script. The last change only worked for Windows Cygwin; for Linux, it needed to remove some additional things from the defconfig file.
This commit is contained in:
+4
-4
@@ -64,11 +64,11 @@
|
||||
/* NULL is usually defined in stddef.h (which includes this file) */
|
||||
|
||||
#ifndef NULL
|
||||
/* SDCC is sensitive to NULL pointer type conversions, and C++ defines
|
||||
* NULL as zero
|
||||
*/
|
||||
/* SDCC is sensitive to NULL pointer type conversions, and C++ defines
|
||||
* NULL as zero
|
||||
*/
|
||||
|
||||
# if defined(SDCC) || defined(__cplusplus)
|
||||
# if defined(SDCC) || defined(__SDCC) || defined(__cplusplus)
|
||||
# define NULL (0)
|
||||
# else
|
||||
# define NULL ((void*)0)
|
||||
|
||||
Reference in New Issue
Block a user