Commit cba5c45e authored by yoogx's avatar yoogx
Browse files

* Support VCD only for Unix targets

        For openaadl/ocarina#96
parent 688ee608
...@@ -21,7 +21,7 @@ int __po_hi_compute_miss (__po_hi_uint8_t rate); ...@@ -21,7 +21,7 @@ int __po_hi_compute_miss (__po_hi_uint8_t rate);
unsigned long __po_hi_swap_byte (unsigned long value); unsigned long __po_hi_swap_byte (unsigned long value);
#ifdef __PO_HI_USE_VCD #if defined(__PO_HI_USE_VCD) && defined(__unix__)
#include <pthread.h> #include <pthread.h>
#include <string.h> #include <string.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#ifdef __PO_HI_USE_VCD #if defined(__PO_HI_USE_VCD) && defined(__unix__)
enum tagVCD VCD_state; enum tagVCD VCD_state;
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment