Author: hpoussin
Date: Sat Aug 30 02:11:57 2008
New Revision: 35790
URL:
http://svn.reactos.org/svn/reactos?rev=35790&view=rev
Log:
GCC doesn't need CDECL on variables
Modified:
trunk/reactos/include/psdk/ks.h
Modified: trunk/reactos/include/psdk/ks.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ks.h?rev=3579…
==============================================================================
--- trunk/reactos/include/psdk/ks.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ks.h [iso-8859-1] Sat Aug 30 02:11:57 2008
@@ -73,8 +73,11 @@
#ifndef _NTRTL_
#ifndef DEFINE_GUIDEX
- /* CDECL is used here in MS DDK but does this really work?? */
- #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
+ #ifdef _MSC_VER
+ #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID name
+ #else
+ #define DEFINE_GUIDEX(name) EXTERN_C const GUID name
+ #endif
#endif
#ifndef STATICGUIDOF