opencv-swig
opencv-swig copied to clipboard
Changed #if ! preprocessor commands to ensure newest versions of gcc are able to recognize them
According to https://en.cppreference.com/w/c/preprocessor/conditional #if
requires using define keyword to evaluate if a macro already exists. As this command was missing, gcc preprocessor was showing warnings mentioned in https://github.com/renatoGarcia/opencv-swig/issues/31