diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-26 10:36:58 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-26 10:36:58 +0000 |
commit | f512281d61c10cbd2dd9797457f5809648b0677b (patch) | |
tree | 9f2ca8192e28987c6f7f13b4ca42ee71fab3d92c /test | |
parent | 65c9216a398c319d6817dbad3086346da77f3a5d (diff) | |
download | external_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.zip external_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.tar.gz external_llvm-f512281d61c10cbd2dd9797457f5809648b0677b.tar.bz2 |
Make LLVM compile on DragonFly BSD (PR2499).
Patch by Hasso Tepper!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/FrontendC/extern-weak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FrontendC/extern-weak.c b/test/FrontendC/extern-weak.c index 2a8569c..f31a6ad 100644 --- a/test/FrontendC/extern-weak.c +++ b/test/FrontendC/extern-weak.c @@ -2,7 +2,7 @@ // RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc #if !defined(__linux__) && !defined(__FreeBSD__) && \ - !defined(__OpenBSD__) && !defined(__CYGWIN__) + !defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__DragonFly__) void foo() __attribute__((weak_import)); #else void foo() __attribute__((weak)); |