[openib-general] [PATCH 1/3 v2] osm: Changes for windows compatability

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Wed Dec 27 07:46:55 PST 2006


Hi Hal.

Fixing windows compilation problems
[V2 - Previous patch had an error]

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 osm/include/iba/ib_types.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/osm/include/iba/ib_types.h b/osm/include/iba/ib_types.h
index 723e8b9..ec65b64 100644
--- a/osm/include/iba/ib_types.h
+++ b/osm/include/iba/ib_types.h
@@ -59,9 +59,10 @@ BEGIN_C_DECLS
          #define OSM_EXPORT	__declspec(dllimport)
     #endif
     #define OSM_API __stdcall
+    #define OSM_CDECL __cdecl
 #else
     #define OSM_EXPORT	extern
     #define OSM_API
+    #define OSM_CDECL
     #define __ptr64
 #endif
 
-- 
1.4.4.1.GIT







More information about the general mailing list