Skip to content

Commit 4319d7b

Browse files
committed
Do not export any symbols for executable models
* If generated by ITI SimulationX C-Code Export * Fix #22
1 parent 1ac6bd2 commit 4319d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modelica_DeviceDrivers/Resources/src/include/CompatibilityDefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define COMPATIBILITYDEFS_H_
3939

4040
/* Compile dll and so from same source */
41-
#if defined(_MSC_VER)
41+
#if defined(_MSC_VER) && !defined(ITI_CE_EXEC_MODEL)
4242
# define DllImport \
4343
__declspec( dllimport )
4444
# define DllExport \

0 commit comments

Comments
 (0)