From b96727549ccd319f61d33982f678075880fad166 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 4 Jul 2018 12:06:03 +0200 Subject: Building using MSVC works --- ice40/arch.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ice40/arch.h') diff --git a/ice40/arch.h b/ice40/arch.h index 207e885c..cd14949f 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -185,10 +185,17 @@ struct ChipInfoPOD RelPtr packages_data; }); +#if defined(_MSC_VER) +extern const char* chipdb_blob_384; +extern const char* chipdb_blob_1k; +extern const char* chipdb_blob_5k; +extern const char* chipdb_blob_8k; +#else extern const char chipdb_blob_384[]; extern const char chipdb_blob_1k[]; extern const char chipdb_blob_5k[]; extern const char chipdb_blob_8k[]; +#endif /************************ End of chipdb section. ************************/ -- cgit v1.2.3