- 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
svn path=/trunk/; revision=54149
*/
#ifndef _WINDEF_
#define _WINDEF_
+#pragma once
#define _WINDEF_H // wine ...
#define PACKED
#else
#define PACKED
-#define _cdecl
-#define __cdecl
#endif
#ifdef __GNUC__
#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)