From af707b785cc6e94bcc7cc2f4db51489afdea8577 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 11 Oct 2005 18:25:31 +0000 Subject: [PATCH] Fix MinGW32 build --- goldlib/msgidlib/typedefs.h | 2 +- goldlib/smblib/Makefile | 3 +-- goldlib/smblib/smbdefs.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/goldlib/msgidlib/typedefs.h b/goldlib/msgidlib/typedefs.h index f2349ef..0d6f1f9 100755 --- a/goldlib/msgidlib/typedefs.h +++ b/goldlib/msgidlib/typedefs.h @@ -17,7 +17,7 @@ typedef UINT uint32_t; #include #endif -typedef unsigned bit; +typedef unsigned char bit; typedef uint8_t byte; diff --git a/goldlib/smblib/Makefile b/goldlib/smblib/Makefile index 52c7fde..54cd26a9 100644 --- a/goldlib/smblib/Makefile +++ b/goldlib/smblib/Makefile @@ -2,8 +2,7 @@ TOP=../.. TARGET=smblib -INCS=-I$(TOP)/goldlib/smblib -#-I$(TOP)/goldlib/gall +INCS=-I$(TOP)/goldlib/smblib -I$(TOP)/goldlib/gall CFLAGS=-x c++ include $(TOP)/GNUmakef.inc diff --git a/goldlib/smblib/smbdefs.h b/goldlib/smblib/smbdefs.h index 770853d..c83e984 100644 --- a/goldlib/smblib/smbdefs.h +++ b/goldlib/smblib/smbdefs.h @@ -57,7 +57,7 @@ typedef UINT uint32_t; typedef unsigned int uint; typedef signed int sint; -typedef unsigned bit; +typedef unsigned char bit; typedef uint8_t byte; typedef int8_t sbyte; typedef uint16_t word;