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:
parent
5817cf1476
commit
d46c3fc5a9
3 changed files with 12 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue