CFLAGS = @CFLAGS@
SHELL = @SHELL@
RANLIB = @RANLIB@
+WINDRES = @WINDRES@
MOC = @MOC@
#
LIB_GNOME = @LIB_GNOME@
LIB_GTK = @LIB_GTK@
LIB_IDCTALTIVEC = @LIB_IDCTALTIVEC@
+LIB_KDE = @LIB_KDE@
LIB_MACOSX = @LIB_MACOSX@
+LIB_QNX = @LIB_QNX@
LIB_NCURSES = @LIB_NCURSES@
LIB_QT = @LIB_QT@
LIB_TS = @LIB_TS@
endif
ifneq (,$(findstring mingw32,$(SYS)))
-CFLAGS += -fnative-struct
+CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long
+endif
+
+ifneq (,$(findstring bsd,$(SYS)))
+CFLAGS += -pthread
endif
# Optimizations : don't compile debug versions with them