diff --git a/Utilities/otbsvm/svm.h b/Utilities/otbsvm/svm.h index 9aa6fab3aafe625edf494e8356abe86079397875..b6dfa23748cdb109e08ad6a1e6e8f96da7005757 100644 --- a/Utilities/otbsvm/svm.h +++ b/Utilities/otbsvm/svm.h @@ -11,9 +11,11 @@ class GenericKernelFunctorBase; class ComposedKernelFunctor; /*** End OTB modification ***/ -#ifdef __cplusplus -extern "C" { -#endif +/*** Begin OTB modification ***/ +//#ifdef __cplusplus +//extern "C" { +//#endif +/*** End OTB modification ***/ extern int libsvm_version; @@ -121,9 +123,11 @@ void svm_set_print_string_function(void (*print_func)(const char *)); // this function will be removed in future release void svm_destroy_model(struct svm_model *model_ptr); -#ifdef __cplusplus -} -#endif +/*** Begin OTB modification ***/ +//#ifdef __cplusplus +//} +//#endif +/*** End OTB modification ***/ /*** Begin OTB modification ***/