mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #7761 from aashishc1988/master
ifndef some macros to allow overriding during compilationpull/7903/head
commit
bf2da4859c
|
@ -33,8 +33,12 @@
|
||||||
/**
|
/**
|
||||||
* Auxilary macros
|
* Auxilary macros
|
||||||
*/
|
*/
|
||||||
|
#ifndef NL
|
||||||
#define NL "\n"
|
#define NL "\n"
|
||||||
|
#endif
|
||||||
|
#ifndef RCNL
|
||||||
#define RCNL "\r\n"
|
#define RCNL "\r\n"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auxilary macros to keep mbed-drivers compatibility with utest before greentea-client
|
* Auxilary macros to keep mbed-drivers compatibility with utest before greentea-client
|
||||||
|
|
|
@ -4,8 +4,12 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "mbed.h"
|
#include "mbed.h"
|
||||||
|
|
||||||
|
#ifndef NL
|
||||||
#define NL "\n"
|
#define NL "\n"
|
||||||
|
#endif
|
||||||
|
#ifndef RCNL
|
||||||
#define RCNL "\r\n"
|
#define RCNL "\r\n"
|
||||||
|
#endif
|
||||||
|
|
||||||
// Const strings used in test_end
|
// Const strings used in test_end
|
||||||
extern const char* TEST_ENV_START;
|
extern const char* TEST_ENV_START;
|
||||||
|
|
Loading…
Reference in New Issue