Revert r28603 and add the correct fix

svn path=/trunk/; revision=28615
This commit is contained in:
Hervé Poussineau 2007-08-28 13:40:56 +00:00
parent a326fd84cb
commit c7416046e2
2 changed files with 11 additions and 0 deletions

View file

@ -12,6 +12,16 @@
#include <stdlib.h>
#include <limits.h>
#ifndef __fastcall
#define __fastcall __attribute__((fastcall))
#endif
#ifndef __cdecl
#define __cdecl __attribute__((cdecl))
#endif
#ifndef __stdcall
#define __stdcall __attribute__((stdcall))
#endif
#define UNIMPLEMENTED { printf("%s unimplemented\n", __FUNCTION__); exit(1); }
#define ASSERT(x) { if (!(x)) { printf("Assertion " #x " at %s:%d failed\n", __FILE__, __LINE__); exit(1); } }
#define DPRINT if (0) printf

View file

@ -36,6 +36,7 @@ static const signed char NTDLL_mostSignificant[16] = {
static
int
__cdecl
NTDLL_RunSortFn(const void *lhs,
const void *rhs)
{