Skip to content

Commit

Permalink
sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Sep 6, 2024
1 parent 0eb5e91 commit 291b61a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osdep/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ char *mp_getenv(const char *name);
#define environ (*mp_penviron()) /* ensure initialization and l-value */
char ***mp_penviron(void);

_Static_assert(_Alignof(off_t) == _Alignof(int64_t), "_Alignof");
_Static_assert(sizeof(off_t) == sizeof(int64_t), "sizeof");

#undef off_t
#define off_t int64_t
off_t mp_lseek64(int fd, off_t offset, int whence);
Expand Down

0 comments on commit 291b61a

Please sign in to comment.