mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
simposix don't #define false in c++
This commit is contained in:
parent
8a153de206
commit
5e02fb2da7
@ -29,14 +29,16 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
typedef enum { FALSE = 0, TRUE = !FALSE } bool;
|
||||
#endif
|
||||
|
||||
#ifndef false
|
||||
#define false FALSE
|
||||
#define true TRUE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
// #define FILEINFO FILE*
|
||||
|
||||
// #define PIOS_SERVO_NUM_OUTPUTS 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user