Author: hpoussin
Date: Tue Aug 28 17:40:56 2007
New Revision: 28615
URL:
http://svn.reactos.org/svn/reactos?rev=28615&view=rev
Log:
Revert r28603 and add the correct fix
Modified:
trunk/reactos/include/reactos/typedefs_host.h
trunk/reactos/lib/rtl/bitmap.c
Modified: trunk/reactos/include/reactos/typedefs_host.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/typedefs_h…
==============================================================================
--- trunk/reactos/include/reactos/typedefs_host.h (original)
+++ trunk/reactos/include/reactos/typedefs_host.h Tue Aug 28 17:40:56 2007
@@ -11,6 +11,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); } }
Modified: trunk/reactos/lib/rtl/bitmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/bitmap.c?rev=28615…
==============================================================================
--- trunk/reactos/lib/rtl/bitmap.c (original)
+++ trunk/reactos/lib/rtl/bitmap.c Tue Aug 28 17:40:56 2007
@@ -36,6 +36,7 @@
static
int
+__cdecl
NTDLL_RunSortFn(const void *lhs,
const void *rhs)
{