If we create an off_t type, define SIZEOF_OFF_T.

This commit is contained in:
Wayne Davison committed 2010-09-06 08:26:41 -07:00
1 parent 9cb20c605f
commit c6679e04f8
1 file changed
+2
+2
View File
@@ -465,6 +465,8 @@ typedef unsigned int mode_t;
#endif
#ifndef HAVE_OFF_T
typedef long off_t;
#undef SIZEOF_OFF_T
#define SIZEOF_OFF_T SIZEOF_LONG
#endif
#ifndef HAVE_SIZE_T
typedef unsigned int size_t;