aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.c')
-rw-r--r--gdb/testsuite/gdb.base/fileio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 0f20151..4ba5ab0 100644
--- a/gdb/testsuite/gdb.base/fileio.c
+++ b/gdb/testsuite/gdb.base/fileio.c
@@ -73,6 +73,10 @@ static const char *strerrno (int err);
#define STRING "Hello World"
+#define STRINGIFY(s) STRINGIFY_(s)
+#define STRINGIFY_(s) #s
+#define OUTDIR STRINGIFY (OUTDIR_)
+
static void stop (void) {}
/* A NULL string. We pass this to stat below instead of a NULL