aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-26 10:36:58 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-26 10:36:58 +0000
commit331217d9babdeeeb77adb6c95f2e84dcd374a2fb (patch)
tree9f2ca8192e28987c6f7f13b4ca42ee71fab3d92c /test/FrontendC
parent54ee1111f24141f86e70e3aa252fa1c0eb780a16 (diff)
downloadexternal_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.zip
external_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.tar.gz
external_llvm-331217d9babdeeeb77adb6c95f2e84dcd374a2fb.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/FrontendC')
-rw-r--r--test/FrontendC/extern-weak.c2
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));