summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cspan.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-05 18:21:17 +0100
committerTyge Løvset <[email protected]>2023-02-05 18:21:17 +0100
commit217865ae413f9cfcc72af176ec7e98f418bddbea (patch)
treee862dddb60fe69fbdb91b14de1f4e44cd7088b43 /include/stc/cspan.h
parentb21be5762a5037abbd9aa820d204f0825382194d (diff)
downloadSTC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.tar.gz
STC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.zip
Fixed linking parameters i_extern.
Diffstat (limited to 'include/stc/cspan.h')
-rw-r--r--include/stc/cspan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cspan.h b/include/stc/cspan.h
index cc3d03b3..f8ae9315 100644
--- a/include/stc/cspan.h
+++ b/include/stc/cspan.h
@@ -207,7 +207,7 @@ STC_API intptr_t _cspan_slice(int32_t odim[], int32_t ostri[], int* orank,
int rank, const int32_t a[][2]);
/* -------------------------- IMPLEMENTATION ------------------------- */
-#if defined(i_implement)
+#if defined(i_static) || defined(i_extern)
STC_DEF intptr_t _cspan_idxN(int rank, const int32_t shape[], const int32_t stri[], const int32_t a[]) {
intptr_t off = a[0];