summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-25 11:22:25 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-25 11:22:25 -0500
commit55b967ab0c7d168218278b74b67ab32e5b146711 (patch)
treee04b4380445485bfcaef733e845bbaaeccbee24a
parentxz/xz_config.h: Address unable to inline warning (diff)
downloadrtems-55b967ab0c7d168218278b74b67ab32e5b146711.tar.bz2
devnullfatal01/testcase.h: Avoid redefinition of TESTS_USE_PRINTK
-rw-r--r--testsuites/libtests/devnullfatal01/testcase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/libtests/devnullfatal01/testcase.h b/testsuites/libtests/devnullfatal01/testcase.h
index 1060d5024d..fb8a786645 100644
--- a/testsuites/libtests/devnullfatal01/testcase.h
+++ b/testsuites/libtests/devnullfatal01/testcase.h
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2010, 2017.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -12,7 +12,9 @@
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY
+#ifndef TESTS_USE_PRINTK
#define TESTS_USE_PRINTK
+#endif
#include <rtems/devnull.h>
#include "tmacros.h"