[ros-diffs] [hpoussin] 35790: GCC doesn't need CDECL on variables

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sat Aug 30 09:11:58 CEST 2008


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=35790&r1=35789&r2=35790&view=diff
==============================================================================
--- 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



More information about the Ros-diffs mailing list