X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBoostFormat.h;h=e96cb1d24695a99a3d9906439f8131ec9d890ba6;hb=8a5d04fd84e344a1ba1cfd3f5cce67d41874cfa3;hp=7da2a5968f609513b3f110e74fbf2f5c3586d1fe;hpb=af4fca532fb249ae45460c7e6964a1f8d14f2273;p=lyx.git diff --git a/src/BoostFormat.h b/src/BoostFormat.h index 7da2a5968f..e96cb1d246 100644 --- a/src/BoostFormat.h +++ b/src/BoostFormat.h @@ -8,7 +8,8 @@ #include -// Add explicit instantion +// Add explicit instantion for g++ compilers +#ifdef __GNUG__ namespace boost { @@ -53,6 +54,8 @@ feed, } // namespace boost +#endif // __GNUG__ + #endif // USE_BOOST_FORMAT #endif // LYX_BOOST_FORMAT_H