summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxconfig01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-27 12:02:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-02 07:46:25 +0100
commit8f6b7abd1aed966f205cc26e09ef38f9b0d40744 (patch)
treece1bbb3e882e050a865755bf159331b8b0ea7ba6 /testsuites/psxtests/psxconfig01
parentada/sp19: Add m4 generated sptest.adb (diff)
downloadrtems-8f6b7abd1aed966f205cc26e09ef38f9b0d40744.tar.bz2
Move feature macro before "config.h" include
This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
Diffstat (limited to 'testsuites/psxtests/psxconfig01')
-rw-r--r--testsuites/psxtests/psxconfig01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c
index 2eeacbdbd4..dc90373248 100644
--- a/testsuites/psxtests/psxconfig01/init.c
+++ b/testsuites/psxtests/psxconfig01/init.c
@@ -21,12 +21,12 @@
* http://www.rtems.org/license/LICENSE.
*/
+#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#define _GNU_SOURCE
-
#include <rtems/test.h>
#include <tmacros.h>