diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-08-20 01:05:41 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-08-20 01:05:41 +0000 |
commit | 50ff6f3fb567353ac84aa489bedcfdbfb93da458 (patch) | |
tree | 8698e54451420fec80f4914f3cff8b122e5af8cd /test/Sema/format-strings.c | |
parent | 9b20376c6cb1b69ced5fe104589aca3990afe180 (diff) |
Fix test failure on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/format-strings.c')
-rw-r--r-- | test/Sema/format-strings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c index 2d6e719e3a..ec070a291b 100644 --- a/test/Sema/format-strings.c +++ b/test/Sema/format-strings.c @@ -1,5 +1,8 @@ // RUN: clang -fsyntax-only -verify %s +// Define this to get vasprintf on Linux +#define _GNU_SOURCE + #include <stdio.h> #include <stdarg.h> |