Fix svdpi.h for apple.

This commit is contained in:
Wilson Snyder 2012-07-15 11:28:26 -04:00
parent 3ec687a0cf
commit 3e5067feb1
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ indicates the contributor was also the author of the fix; Thanks!
**** Fix false UNUSED warning on file system calls. [Holger Waechtler]
**** Fix svdpi.h compile error on Apple OS.
* Verilator 3.833 2012/04/15

View File

@ -27,6 +27,8 @@ typedef signed __int32 int32_t;
typedef signed __int8 int8_t;
#elif defined(__MINGW32__)
#include <stdint.h>
#elif defined(__APPLE__)
#include <stdint.h>
#elif defined(__linux)
#include <inttypes.h>
#else