about summary refs log tree commit diff homepage
path: root/runtime/POSIX/fd_64.c
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-02 00:09:36 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2013-11-02 00:09:36 +0100
commitf0a0ae4d437d7c5bae9e42e0c693da26a87f64d6 (patch)
treea456ce31ac7631275b2a878184a9fa564a586ba3 /runtime/POSIX/fd_64.c
parentb2070cfe978396aad21f22c8aae4910d45295bee (diff)
downloadklee-f0a0ae4d437d7c5bae9e42e0c693da26a87f64d6.tar.gz
Fix build of POSIX file descriptor functions
Build Large File System functions for 32bit and 64bit correctly
Diffstat (limited to 'runtime/POSIX/fd_64.c')
-rw-r--r--runtime/POSIX/fd_64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/POSIX/fd_64.c b/runtime/POSIX/fd_64.c
index 21a986aa..03fccc49 100644
--- a/runtime/POSIX/fd_64.c
+++ b/runtime/POSIX/fd_64.c
@@ -17,7 +17,6 @@
 
 
 #include "klee/Config/Version.h"
-#if defined(ENV64) || (LLVM_VERSION_CODE < LLVM_VERSION(3, 2))
 #define _LARGEFILE64_SOURCE
 #define _FILE_OFFSET_BITS 64
 #include "fd.h"
@@ -113,5 +112,3 @@ int getdents64(unsigned int fd, struct dirent *dirp, unsigned int count) {
 }
 int __getdents64(unsigned int fd, struct dirent *dirp, unsigned int count)
      __attribute__((alias("getdents64")));
-
-#endif