Define ws_statb64 as struct stat *within* the "not Windows" block.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Apr 2011 20:51:58 +0000 (20:51 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 10 Apr 2011 20:51:58 +0000 (20:51 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36546 f5534014-38df-0310-8fa8-9805f1628bb7

wsutil/file_util.h

index 6289173a7c17599e0dc5ff20555966b2295ba96e..65164165c3ba9a759f452ad5fc5fc7683c41554f 100644 (file)
@@ -143,12 +143,12 @@ extern char *getenv_utf8(const char *varname);
 #define ws_fstat64 fstat       /* AC_SYS_LARGEFILE should make off_t 64-bit */
 #define ws_lseek64 lseek       /* AC_SYS_LARGEFILE should make off_t 64-bit */
 #define O_BINARY   0           /* Win32 needs the O_BINARY flag for open() */
-#endif /* _WIN32 */
 
 /*
  * The structure to pass to ws_fstat64().
  */
 #define ws_statb64     struct stat
+#endif /* _WIN32 */
 
 /* directory handling */
 #define WS_DIR                         GDir