[SCM] OCE packaging branch, debian, updated. debian/0.11-1

QbProg tholag at gmail.com
Thu Dec 13 19:16:52 UTC 2012


The following commit has been merged in the debian branch:
commit 5bf3b8a6d80e0dda603f6730d0899e034d1ccc04
Author: QbProg <tholag at gmail.com>
Date:   Sun Nov 25 12:35:16 2012 +0100

    Uses Standard_IMPORT instead of __declspec(dllimport) in non MSVC-compilers

diff --git a/inc/Standard_Atomic.hxx b/inc/Standard_Atomic.hxx
index 29a71cc..df2ed87 100644
--- a/inc/Standard_Atomic.hxx
+++ b/inc/Standard_Atomic.hxx
@@ -42,8 +42,8 @@
     }
   #else
     extern "C" {
-      __declspec(dllimport) long __stdcall InterlockedIncrement ( long volatile *lpAddend);
-      __declspec(dllimport) long __stdcall InterlockedDecrement ( long volatile *lpAddend);
+      Standard_IMPORT long __stdcall InterlockedIncrement ( long volatile *lpAddend);
+      Standard_IMPORT long __stdcall InterlockedDecrement ( long volatile *lpAddend);
     }
     #define _InterlockedIncrement InterlockedIncrement
     #define _InterlockedDecrement InterlockedDecrement

-- 
OCE packaging



More information about the debian-science-commits mailing list