[rtems commit] devnullfatal01/testcase.h: Avoid redefinition of TESTS_USE_PRINTK
Joel Sherrill
joel at rtems.org
Tue Apr 25 14:21:34 UTC 2017
Module: rtems
Branch: master
Commit: 55b967ab0c7d168218278b74b67ab32e5b146711
Changeset: http://git.rtems.org/rtems/commit/?id=55b967ab0c7d168218278b74b67ab32e5b146711
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Apr 25 11:22:25 2017 -0500
devnullfatal01/testcase.h: Avoid redefinition of TESTS_USE_PRINTK
---
testsuites/libtests/devnullfatal01/testcase.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testsuites/libtests/devnullfatal01/testcase.h b/testsuites/libtests/devnullfatal01/testcase.h
index 1060d50..fb8a786 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"
More information about the vc
mailing list