diff options
author | Nicholas Corgan | 2013-01-02 09:32:12 -0800 |
---|---|---|
committer | Nicholas Corgan | 2013-01-02 09:32:12 -0800 |
commit | f4500ccb63f9d7e35460d2699472e1cf498d8229 (patch) | |
tree | 874f75dbc2f1da2896d3911bc78da57f1e5c02e8 /gr-blocks/lib/file_meta_source_impl.cc | |
parent | 79284e93f738d389b452f8829bf4876d3fd513b4 (diff) | |
download | gnuradio-f4500ccb63f9d7e35460d2699472e1cf498d8229.tar.gz gnuradio-f4500ccb63f9d7e35460d2699472e1cf498d8229.tar.bz2 gnuradio-f4500ccb63f9d7e35460d2699472e1cf498d8229.zip |
blocks: fixed file_meta_sink/source_impl MSVC incompatibliity error
Diffstat (limited to 'gr-blocks/lib/file_meta_source_impl.cc')
-rw-r--r-- | gr-blocks/lib/file_meta_source_impl.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gr-blocks/lib/file_meta_source_impl.cc b/gr-blocks/lib/file_meta_source_impl.cc index fb39b205b..42fdabb54 100644 --- a/gr-blocks/lib/file_meta_source_impl.cc +++ b/gr-blocks/lib/file_meta_source_impl.cc @@ -26,14 +26,12 @@ #include "file_meta_source_impl.h" #include <gr_io_signature.h> +#include <cstdio> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdexcept> -#include <cstdio> - -namespace gr { - namespace blocks { +#include <stdio.h> // win32 (mingw/msvc) specific #ifdef HAVE_IO_H @@ -52,6 +50,11 @@ namespace gr { #define OUR_O_LARGEFILE 0 #endif + +namespace gr { + namespace blocks { + + file_meta_source::sptr file_meta_source::make(const std::string &filename, bool repeat, |