__cplusplus macro usage tweak
This commit is contained in:
parent
44f599bb6f
commit
ebd6558a30
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@
|
|||
/* isfinite() is a macro for C99 */
|
||||
# if defined(isfinite)
|
||||
# define SWIG_isfinite(X) (isfinite(X))
|
||||
# elif defined __cplusplus && __cplusplus >= 201103L
|
||||
# elif defined(__cplusplus) && __cplusplus >= 201103L
|
||||
/* Use a template so that this works whether isfinite() is std::isfinite() or
|
||||
* in the global namespace. The reality seems to vary between compiler
|
||||
* versions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue