gcc里面strncasecmp位于strings.h
This commit is contained in:
parent
896d7a8f50
commit
f3949b53bd
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
#include "PowerUps.h"
|
||||
#include "../Config.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "Kernel\Sys.h"
|
||||
#include "Kernel\Sys.h"
|
||||
#include "Device\Port.h"
|
||||
|
||||
#include "PulsePort.h"
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
#include <math.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
// gcc里面strncasecmp位于strings.h
|
||||
#ifdef __GNUC__
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "_Core.h"
|
||||
|
||||
#include "ByteArray.h"
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace NewLife.Reflection
|
|||
build.Cortex = 3;
|
||||
build.Output = "GCC";
|
||||
build.Defines.Add("STM32F1");
|
||||
build.AddIncludes("..\\", false);
|
||||
build.AddFiles("..\\Core");
|
||||
build.AddFiles("..\\Kernel");
|
||||
build.AddFiles("..\\Device");
|
||||
|
|
Loading…
Reference in New Issue