1
0
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:
James Duley 2016-05-20 21:26:39 +01:00
parent 8a153de206
commit 5e02fb2da7

View File

@ -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