Fix two watcom (and probably C89) issues.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5564 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-02-27 20:43:03 +00:00
parent 5817cf1476
commit d46c3fc5a9
3 changed files with 12 additions and 4 deletions

View file

@ -57,7 +57,6 @@
#define BM_MAX_SIZE 4194304UL
/* Bitmap type */
typedef enum BitmapType BitmapType;
enum BitmapType {
bmUnknown,
bmMonochrome,
@ -65,6 +64,7 @@ enum BitmapType {
bmRGB,
bmRGBA
};
typedef enum BitmapType BitmapType;
/* Bitmap structure */
typedef struct Bitmap Bitmap;

View file

@ -49,13 +49,13 @@
typedef enum InputFormat InputFormat;
enum InputFormat {
ifAuto = -1, /* Auto detect */
ifPCX, /* PCX */
ifCount /* Number of actual input formats w/o ifAuto*/
};
typedef enum InputFormat InputFormat;

View file

@ -60,8 +60,16 @@ endif
# ------------------------------------------------------------------------------
# All OBJ files
OBJS = error.obj \
main.obj
OBJS = asm.obj \
bin.obj \
bitmap.obj \
color.obj \
error.obj \
fileio.obj \
input.obj \
main.obj \
palette.obj \
pcx.obj
LIBS = ../common/common.lib