- 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:
Christoph Oelckers 2014-07-09 09:15:51 +02:00
parent dd05e564cf
commit e1729a9ec2

View file

@ -21,6 +21,8 @@
#ifndef __HU_STUFF_H__
#define __HU_STUFF_H__
#include "doomtype.h"
struct event_t;
class player_t;
@ -52,7 +54,7 @@ int HU_GetRowColor(player_t *player, bool hightlight);
// Sorting routines
int comparepoints(const void *arg1, const void *arg2);
int compareteams(const void *arg1, const void *arg2);
int STACK_ARGS comparepoints(const void *arg1, const void *arg2);
int STACK_ARGS compareteams(const void *arg1, const void *arg2);
#endif