Skip to content

Commit 672098e

Browse files
committed
"#ifdef __cplusplus" is redundant
Addressing comment #1218 (comment) from @LourensVeen: " No need for #ifdef __cplusplus here, this file has a class in it so it must always be compiled with a C++ compiler, a C compiler is going to error anyway. "
1 parent b5518cf commit 672098e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/sapporo_light/sapporo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ extern "C"
103103
{
104104
int get_device_count();
105105
cudaError_t host_evaluate_gravity(sapporo_multi_struct);
106-
#ifdef __cplusplus
107106
int g6_get_nj_max_();
108-
#endif
109107
}
110108

111109
class sapporo {

0 commit comments

Comments
 (0)