Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
01a0df86
Commit
01a0df86
authored
Mar 05, 2010
by
rswindell
Browse files
Moved fileoff_t and filelen_t typedefs to gen_defs.h (used in more places
than just filewrap.c or it's consumers).
parent
c4bc6778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
src/xpdev/filewrap.h
src/xpdev/filewrap.h
+0
-10
src/xpdev/gen_defs.h
src/xpdev/gen_defs.h
+6
-0
No files found.
src/xpdev/filewrap.h
View file @
01a0df86
...
...
@@ -54,16 +54,6 @@
#include <fcntl.h>
/* O_RDONLY, O_CREAT, etc. */
/************/
/* Typedefs */
/************/
#if defined(XPDEV_LARGE_FILE_SUPPORT)
typedef
int64_t
fileoff_t
,
filelen_t
;
#else
typedef
int32_t
fileoff_t
,
filelen_t
;
#endif
/**********/
/* Macros */
/**********/
...
...
src/xpdev/gen_defs.h
View file @
01a0df86
...
...
@@ -171,6 +171,12 @@ typedef unsigned long long int uint64_t;
/* Legacy 32-bit time_t */
typedef
int32_t
time32_t
;
#if defined(XPDEV_LARGE_FILE_SUPPORT)
typedef
int64_t
fileoff_t
,
filelen_t
;
#else
typedef
long
fileoff_t
,
filelen_t
;
#endif
/* Windows Types */
#ifndef BYTE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment