guard another file against inclusion in C++ code
This commit is contained in:
parent
faf25a1d6c
commit
9818f6f06b
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
|||
#ifndef SHARP_COMPLEX_HACKS_H
|
||||
#define SHARP_COMPLEX_HACKS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
#error This header file cannot be included from C++, only from C
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <complex.h>
|
||||
#include "sharp_vecsupport.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue