Skip to content

Commit

Permalink
utils: compat: Plug off_t absence on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Jul 31, 2024
1 parent f75be05 commit f8a666a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/cfl/cfl_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#define timegm _mkgmtime
typedef __int64 off_t;
#endif /* _MSC_VER */

#endif
#endif

1 change: 1 addition & 0 deletions include/cfl/cfl_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define CFL_UTILS_H

#include <cfl/cfl_sds.h>
#include <cfl/cfl_compat.h>

struct cfl_split_entry {
char *value;
Expand Down

0 comments on commit f8a666a

Please sign in to comment.