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

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Wed Dec 27 01:03:23 PST 2006


Hi Hal.

Fixing windows compilation problems.

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