Author: tkreuzer
Date: Sat Oct 15 19:54:51 2011
New Revision: 54149
URL:
http://svn.reactos.org/svn/reactos?rev=54149&view=rev
Log:
[PSDK]
- don't define _cdecl and __cdecl to nothing on MSVC builds.
- define cdecl and CDECL to nothing
- add #pragma once
- this file is full of hacks
Modified:
trunk/reactos/include/psdk/windef.h
Modified: trunk/reactos/include/psdk/windef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/windef.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/windef.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/windef.h [iso-8859-1] Sat Oct 15 19:54:51 2011
@@ -5,6 +5,7 @@
*/
#ifndef _WINDEF_
#define _WINDEF_
+#pragma once
#define _WINDEF_H // wine ...
@@ -106,8 +107,6 @@
#define PACKED
#else
#define PACKED
-#define _cdecl
-#define __cdecl
#endif
#ifdef __GNUC__
@@ -141,9 +140,9 @@
#define near
#define pascal __stdcall
-//#define cdecl _cdecl
+#define cdecl
#ifndef CDECL
-#define CDECL _cdecl
+#define CDECL
#endif
#if !defined(__x86_64__) //defined(_STDCALL_SUPPORTED)