Commit c6679e04 authored by Wayne Davison's avatar Wayne Davison

If we create an off_t type, define SIZEOF_OFF_T.

parent 9cb20c60
...@@ -465,6 +465,8 @@ typedef unsigned int mode_t; ...@@ -465,6 +465,8 @@ typedef unsigned int mode_t;
#endif #endif
#ifndef HAVE_OFF_T #ifndef HAVE_OFF_T
typedef long off_t; typedef long off_t;
#undef SIZEOF_OFF_T
#define SIZEOF_OFF_T SIZEOF_LONG
#endif #endif
#ifndef HAVE_SIZE_T #ifndef HAVE_SIZE_T
typedef unsigned int size_t; typedef unsigned int size_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment