mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 01:43:02 +00:00
Revert r28603 and add the correct fix
svn path=/trunk/; revision=28615
This commit is contained in:
parent
a326fd84cb
commit
c7416046e2
2 changed files with 11 additions and 0 deletions
|
@ -12,6 +12,16 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.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 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 ASSERT(x) { if (!(x)) { printf("Assertion " #x " at %s:%d failed\n", __FILE__, __LINE__); exit(1); } }
|
||||||
#define DPRINT if (0) printf
|
#define DPRINT if (0) printf
|
||||||
|
|
|
@ -36,6 +36,7 @@ static const signed char NTDLL_mostSignificant[16] = {
|
||||||
|
|
||||||
static
|
static
|
||||||
int
|
int
|
||||||
|
__cdecl
|
||||||
NTDLL_RunSortFn(const void *lhs,
|
NTDLL_RunSortFn(const void *lhs,
|
||||||
const void *rhs)
|
const void *rhs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue