From c4ec9d697b2a148c686c5d835d08789d4a220beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 30 Aug 2008 07:11:57 +0000 Subject: [PATCH] GCC doesn't need CDECL on variables svn path=/trunk/; revision=35790 --- reactos/include/psdk/ks.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reactos/include/psdk/ks.h b/reactos/include/psdk/ks.h index 5bda665365b..0563313c039 100644 --- a/reactos/include/psdk/ks.h +++ b/reactos/include/psdk/ks.h @@ -73,8 +73,11 @@ typedef PVOID PKSWORKER; #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