X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=ginac%2Fbasic.h;h=9c54a67e45b2ed271a6ade82fa636dfc5d4e4fd9;hb=fdade42bf337fa1650bb9d69ee06e3bd1562c951;hp=375f25070776fd3525599701314bd138e629b233;hpb=e58f5808a2d0fe6cb9d60370ede700d97a8bb702;p=ginac.git diff --git a/ginac/basic.h b/ginac/basic.h index 375f2507..9c54a67e 100644 --- a/ginac/basic.h +++ b/ginac/basic.h @@ -45,10 +45,11 @@ class relational; class archive_node; class print_context; -// Cint doesn't like vector<..,default_alloc> but malloc_alloc is -// unstandardized and not supported by newer GCCs. -#if defined(__GNUC__) && ((__GNUC__ == 2) && (__GNUC_MINOR__ < 97)) - typedef std::vector exvector; +// Cint currently doesn't like vector<..,default_alloc> but malloc_alloc is +// unstandardized and not supported by newer GCCs. This ugly hack will go +// away soon! +#if (defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ < 97)) || (defined(G__GNUC) && (G__GNUC == 2) && (G__GNUC_MINOR < 97)) + typedef std::vector exvector; #else typedef std::vector exvector; #endif