mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
- fixed compilation with VC++2005 solution.
hu_stuff.h defined some callbacks for qsort without STACK_ARGS which causes problems with this solution's Release setting which uses __fastcall calling convention.
This commit is contained in:
parent
dd05e564cf
commit
e1729a9ec2
1 changed files with 4 additions and 2 deletions
|
@ -21,6 +21,8 @@
|
||||||
#ifndef __HU_STUFF_H__
|
#ifndef __HU_STUFF_H__
|
||||||
#define __HU_STUFF_H__
|
#define __HU_STUFF_H__
|
||||||
|
|
||||||
|
#include "doomtype.h"
|
||||||
|
|
||||||
struct event_t;
|
struct event_t;
|
||||||
class player_t;
|
class player_t;
|
||||||
|
|
||||||
|
@ -52,7 +54,7 @@ int HU_GetRowColor(player_t *player, bool hightlight);
|
||||||
|
|
||||||
// Sorting routines
|
// Sorting routines
|
||||||
|
|
||||||
int comparepoints(const void *arg1, const void *arg2);
|
int STACK_ARGS comparepoints(const void *arg1, const void *arg2);
|
||||||
int compareteams(const void *arg1, const void *arg2);
|
int STACK_ARGS compareteams(const void *arg1, const void *arg2);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue