Commit 4c96e806 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: MSVC: ifdef gaurd for pragma GCC

parent f2056f4e
...@@ -19,11 +19,14 @@ ...@@ -19,11 +19,14 @@
/*===========================================================================*/ /*===========================================================================*/
/*===============================[ Includes ]================================*/ /*===============================[ Includes ]================================*/
/*===========================================================================*/ /*===========================================================================*/
#ifdef __GNUC__
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wshadow"
#include "ogr_feature.h" #include "ogr_feature.h"
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#else
#include "ogr_feature.h"
#endif
#include "otbOGRFeatureWrapper.h" #include "otbOGRFeatureWrapper.h"
#include "otbJoinContainer.h" #include "otbJoinContainer.h"
#include <boost/array.hpp> #include <boost/array.hpp>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment