Skip to content

Commit c02372f

Browse files
committed
Merge pull request #70 from jorisa/master
Replace #ifdef with #if DEVICE_STDIO_MESSAGES
2 parents 105c56d + c275ef3 commit c02372f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/mbed/api/error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#include <stdlib.h>
5757
#include "device.h"
5858

59-
#ifdef DEVICE_STDIO_MESSAGES
59+
#if DEVICE_STDIO_MESSAGES
6060
#include <stdio.h>
6161
#define error(...) (fprintf(stderr, __VA_ARGS__), exit(1))
6262
#else

libraries/mbed/api/mbed_debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
extern "C" {
2222
#endif
2323

24-
#ifdef DEVICE_STDIO_MESSAGES
24+
#if DEVICE_STDIO_MESSAGES
2525
#include <stdio.h>
2626
#include <stdarg.h>
2727

0 commit comments

Comments
 (0)