diff options
author | cornet | 2010-04-01 12:01:29 +0000 |
---|---|---|
committer | cornet | 2010-04-01 12:01:29 +0000 |
commit | bb09d489b2601692ec411349ac16a9f94d13f2ad (patch) | |
tree | 829197dbb099356629dea4ee9923de68068e3c9c /src/c/implicitList/dynlib_implicitlist.h | |
parent | c376d31d4dba016ddec4a1a4173dc417fa8494bb (diff) | |
download | scilab2c-bb09d489b2601692ec411349ac16a9f94d13f2ad.tar.gz scilab2c-bb09d489b2601692ec411349ac16a9f94d13f2ad.tar.bz2 scilab2c-bb09d489b2601692ec411349ac16a9f94d13f2ad.zip |
export or import symbols only when it is a dll
Diffstat (limited to 'src/c/implicitList/dynlib_implicitlist.h')
-rw-r--r-- | src/c/implicitList/dynlib_implicitlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/implicitList/dynlib_implicitlist.h b/src/c/implicitList/dynlib_implicitlist.h index 7c1ef88c..297c64b3 100644 --- a/src/c/implicitList/dynlib_implicitlist.h +++ b/src/c/implicitList/dynlib_implicitlist.h @@ -13,7 +13,7 @@ #ifndef __DYNLIB_IMPLICITLIST_H__
#define __DYNLIB_IMPLICITLIST_H__
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && defined(_USRDLL)
#if IMPLICITLIST_EXPORTS
#define EXTERN_IMPLIST __declspec (dllexport)
#else
|