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

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


The following commit has been merged in the debian branch:
commit 681b796099d162efa979b7f9a3da3a2d3ce08d0b
Author: QbProg <tholag at gmail.com>
Date:   Mon Nov 26 19:46:35 2012 +0100

    Replace __declspec(dllexport) with Standard_EXPORT

diff --git a/src/Standard/Standard_symlink.c b/src/Standard/Standard_symlink.c
index 0e0970b..b7fe6d1 100644
--- a/src/Standard/Standard_symlink.c
+++ b/src/Standard/Standard_symlink.c
@@ -30,6 +30,7 @@
 #define STRICT
 #include <windows.h>
 #include <tchar.h>
+#include "Standard_Macro.hxx"
 
 #ifdef __cplusplus
 extern "C" int symlink ( const _TCHAR*, const _TCHAR* );
@@ -37,7 +38,7 @@ extern "C" int symlink ( const _TCHAR*, const _TCHAR* );
 /***/
 /******************************* symlink **************************************/
 /***/
-__declspec( dllexport ) int symlink ( const _TCHAR* name1, const _TCHAR* name2 ) {
+Standard_EXPORT int symlink ( const _TCHAR* name1, const _TCHAR* name2 ) {
 
  return CopyFile ( name1, name2, FALSE ) == TRUE ? 0 : -1;
 

-- 
OCE packaging



More information about the debian-science-commits mailing list