Skip to content

Commit 0f5ecb5

Browse files
Merge pull request #41 from icl-utk-edu/fix-c-bool
Include <stdbool.h> header for C
2 parents 48a32d7 + 834efc9 commit 0f5ecb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/magma_types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#include <stdint.h>
1717
#include <assert.h>
1818

19+
#ifndef __cplusplus
20+
#include<stdbool.h>
21+
#endif
1922

2023
// for backwards compatability
2124
#ifdef HAVE_clAmdBlas

0 commit comments

Comments
 (0)