Ye Ol' π Shack
Empowering makers everywhere!
This website works better with JavaScript.
Repositories
Help
Sign In
Ye_Ol_Pi_Shack
/
CppCMS
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
Workarond of missing off_t
master
Artyom Beilis
8 years ago
parent
038647bb66
commit
98977e6cfd
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
CMakeLists.txt
+1
-0
private/http_file_buffer.h
+ 1
- 0
CMakeLists.txt
View File
@@ -251,6 +251,7 @@ check_cxx_source_compiles(
#define _FILE_OFFSET_BITS 64
#endif
#include <stdio.h>
#include <stdlib.h>
int main()
{
char is_big[sizeof(off_t) >= 8 ? 1 : -1];
+ 1
- 0
private/http_file_buffer.h
View File
@@ -12,6 +12,7 @@
#endif
#include <cppcms/config.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef CPPCMS_HAVE_FSEEKO
// nothing
#elif defined(CPPCMS_HAVE_FSEEKI64)
Write
Preview
Loading…
Cancel
Save