diff options
author | Jush Lu <jush.msn@gmail.com> | 2011-03-10 03:08:23 +0800 |
---|---|---|
committer | Jush Lu <jush.msn@gmail.com> | 2011-03-10 03:08:23 +0800 |
commit | 064185f43c8a2315d5d185b41c4cb9f447f8a89c (patch) | |
tree | ab8bbd2950f516f2afb01366c8d9c7585167d0a4 /lib/Support/Unix/PathV2.inc | |
parent | db8164e6e3d548ca6ea2120ea7abcec9cbe2ff41 (diff) | |
download | external_llvm-064185f43c8a2315d5d185b41c4cb9f447f8a89c.zip external_llvm-064185f43c8a2315d5d185b41c4cb9f447f8a89c.tar.gz external_llvm-064185f43c8a2315d5d185b41c4cb9f447f8a89c.tar.bz2 |
Add function prototype for truncate (which is missing from Bionic)
Diffstat (limited to 'lib/Support/Unix/PathV2.inc')
-rw-r--r-- | lib/Support/Unix/PathV2.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index 03ff283..15df8a2 100644 --- a/lib/Support/Unix/PathV2.inc +++ b/lib/Support/Unix/PathV2.inc @@ -43,6 +43,8 @@ #include <stdio.h> #endif +extern "C" int truncate (const char*, off_t); + using namespace llvm; namespace { |