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:
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user