1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-09 13:25:06 +00:00

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

View File

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

View File

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