Merge pull request #7761 from aashishc1988/master

ifndef some macros to allow overriding during compilation
pull/7903/head
Cruz Monrreal 2018-08-27 10:27:49 -05:00 committed by GitHub
commit bf2da4859c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -33,8 +33,12 @@
/**
* Auxilary macros
*/
#ifndef NL
#define NL "\n"
#endif
#ifndef RCNL
#define RCNL "\r\n"
#endif
/**
* Auxilary macros to keep mbed-drivers compatibility with utest before greentea-client

View File

@ -4,8 +4,12 @@
#include <stdio.h>
#include "mbed.h"
#ifndef NL
#define NL "\n"
#endif
#ifndef RCNL
#define RCNL "\r\n"
#endif
// Const strings used in test_end
extern const char* TEST_ENV_START;