aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-04 12:06:03 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-04 12:08:16 +0200
commitb96727549ccd319f61d33982f678075880fad166 (patch)
tree6d7fc3bc0d200b2c336bec74b1855ca5c577afbf /ice40/arch.h
parentc9d1bce85994756f196a6eb22926ba4acaf42aec (diff)
downloadnextpnr-b96727549ccd319f61d33982f678075880fad166.tar.gz
nextpnr-b96727549ccd319f61d33982f678075880fad166.tar.bz2
nextpnr-b96727549ccd319f61d33982f678075880fad166.zip
Building using MSVC works
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h7
1 files changed, 7 insertions, 0 deletions
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<PackageInfoPOD> 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. ************************/