Skip to content

ifndef some macros to allow overriding during compilation #7761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions features/unsupported/tests/mbed/env/test_env.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down