X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FBuffer.hh;h=6ce84a60f7c5cbdd956e6823921e45f9e5554728;hb=28275a1a9075ae42dc29aaadc5bc78e6fa204e26;hp=00021d266daa95313a267fad468aa5121a8e8273;hpb=36dec8105bf99dec12ffa07149f72923a71001e5;p=senf.git diff --git a/Utils/Buffer.hh b/Utils/Buffer.hh index 00021d2..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) { @@ -113,4 +95,6 @@ // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: