Skip to content

Commit

Permalink
Fixed build on OS X / gcc.
Browse files Browse the repository at this point in the history
There were two conflicting definitions of vectorgraphicid_t and
compositefontid_t. Removed the enum typedef to go with the uint32_t
from the API headers.
  • Loading branch information
skyjake committed Jun 6, 2010
1 parent f29453b commit f355c77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/plugins/common/include/hu_stuff.h
Expand Up @@ -38,7 +38,7 @@
#endif

// The fonts.
typedef enum {
enum {
GF_FIRST = 1,
GF_FONTA = GF_FIRST,
GF_FONTB,
Expand All @@ -53,10 +53,10 @@ typedef enum {
GF_SMALLIN,
#endif
NUM_GAME_FONTS
} compositefontid_t;
}; /* compositefontid_t*/

// Vector graphics.
typedef enum {
enum {
VG_FIRST = 1,
VG_KEYSQUARE = VG_FIRST,
VG_TRIANGLE,
Expand All @@ -71,7 +71,7 @@ typedef enum {
VG_XHAIR5,
VG_XHAIR6,
NUM_VECTOR_GRAPHICS
} vectorgraphicid_t;
}; /* vectorgraphicid_t*/

extern patchid_t* mapNamePatches; // Name graphics of each map.
#if __JDOOM__ || __JDOOM64__
Expand Down

0 comments on commit f355c77

Please sign in to comment.