X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FBuffer.hh;h=6ce84a60f7c5cbdd956e6823921e45f9e5554728;hb=05fab45b5f96c457d3c6b359f66ce1506c6ad510;hp=aa4bba9005f3a3559e9ca3f3af2bd48037ee0a23;hpb=145f6a7d0f3a6aaa77b3625351c952d24cb0b8a1;p=senf.git diff --git a/Utils/Buffer.hh b/Utils/Buffer.hh index aa4bba9..6ce84a6 100644 --- a/Utils/Buffer.hh +++ b/Utils/Buffer.hh @@ -1,3 +1,5 @@ +// $Id$ +// // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) @@ -25,31 +27,11 @@ #define HH_Buffer_ 1 // Custom includes +#include "../config.hh" //#include "Buffer.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -#if !defined(SENF_BUFFER_USE_LOCALS) && !defined(SENF_BUFFER_USE_ALLOCA) && !defined(SENF_BUFFER_USE_NEW) -# -# -# if defined(__GNUC__) -# define SENF_BUFFER_USE_LOCALS 1 -# -# // Add other compilers here ... -# -# // dynamic arrays are part of C99. Which is NOT part of C++ -# // but lets try nonetheless ... -# elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -# define SENF_BUFFER_USE_LOCALS 1 -# -# endif -# -# if !defined(SENF_BUFFER_USE_LOCALS) && !defined(SENF_BUFFER_USE_ALLOCA) -# define SENF_BUFFER_USE_NEW 1 -# endif -# -#endif - #if defined(SENF_BUFFER_USE_LOCALS) # define SENF_SCOPED_BUFFER(type, sym, size) \ @@ -76,7 +58,7 @@ either pointer to \a type or array of \a type: \code - #include "Utils/Buffer.hh" + #include "../Utils/Buffer.hh" void foo(std::string const & str) {