mirror of
https://github.com/verilator/verilator.git
synced 2026-08-22 05:57:29 +02:00
Fix svdpi compile issue on MSVCC, bug571.
This commit is contained in:
@@ -5,6 +5,9 @@ indicates the contributor was also the author of the fix; Thanks!
|
|||||||
|
|
||||||
* Verilator 3.84** devel
|
* Verilator 3.84** devel
|
||||||
|
|
||||||
|
**** Fix svdpi compile issue on MSVCC, bug571. [Amir Gonnen]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Verilator 3.842 2012/11/03
|
* Verilator 3.842 2012/11/03
|
||||||
|
|
||||||
|
|||||||
@@ -36,18 +36,22 @@ typedef signed __int8 int8_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Use to export a symbol from application */
|
/* Use to export a symbol from application */
|
||||||
|
#ifndef DPI_DLLISPEC
|
||||||
#if defined (_MSC_VER)
|
#if defined (_MSC_VER)
|
||||||
#define DPI_DLLISPEC __declspec(dllimport)
|
#define DPI_DLLISPEC __declspec(dllimport)
|
||||||
#else
|
#else
|
||||||
#define DPI_DLLISPEC
|
#define DPI_DLLISPEC
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Use to import a symbol into application */
|
/* Use to import a symbol into application */
|
||||||
|
#ifndef DPI_DLLESPEC
|
||||||
#if defined (_MSC_VER)
|
#if defined (_MSC_VER)
|
||||||
#define DPI_DLLESPEC __declspec(dllexport)
|
#define DPI_DLLESPEC __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define DPI_DLLESPEC
|
#define DPI_DLLESPEC
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Use to mark a function as external */
|
/* Use to mark a function as external */
|
||||||
#ifndef DPI_EXTERN
|
#ifndef DPI_EXTERN
|
||||||
|
|||||||
Reference in New Issue
Block a user