summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-07 21:26:33 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-07 21:26:33 +0900
commitfcb102b6508fc03f8a0c5e6fdf070c1e115adc26 (patch)
tree8da96735269298adce39403b9b0197f1754c5970 /src/common.h
parent840ca5adb630e33e793b64cb62d353d443e44d5b (diff)
Fixed compile error with i686-w64-mingw32
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common.h b/src/common.h
index ce52b712..517d6a63 100644
--- a/src/common.h
+++ b/src/common.h
@@ -35,17 +35,6 @@
#ifndef D_COMMON_H
#define D_COMMON_H
-#ifdef __MINGW32__
-# undef SIZE_MAX
-# ifndef _OFF_T_
-# define _OFF_T_
-typedef long long _off_t;
-# ifndef _NO_OLDNAMES
-typedef _off_t off_t;
-# endif // !_NO_OLDNAMES
-# endif // !_OFF_T_
-#endif // __MINGW32__
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif