Skip to content

Commit 367b0af

Browse files
committed
c99 fix
1 parent f2897b9 commit 367b0af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
include_dirs = ['torch_scatter/src']
1414
define_macros = []
1515
extra_objects = []
16+
extra_compile_args = ['-std=c99']
1617
with_cuda = False
1718

1819
if torch.cuda.is_available():
@@ -33,6 +34,7 @@
3334
include_dirs=include_dirs,
3435
define_macros=define_macros,
3536
extra_objects=extra_objects,
37+
extra_compile_args=extra_compile_args,
3638
with_cuda=with_cuda,
3739
relative_to=__file__)
3840

0 commit comments

Comments
 (0)